ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

Àɮײ¾°Ê¤Î½Æ»s

Àɮײ¾°Ê¤Î½Æ»s

¦U¦ì°ª¤â,¦A³Â·Ð..

1. D:\¸Ì­±¦³¤@­Ó¸ê®Æ§X(¦WºÙ·|ÅÜ) ¡A¦ý¬O¸Ì­±¦³«Ü¦h.TXTªºÀɮסA­n²¾¨ìE:\123¤º,¦p¦ó¥ÎVBS ³B²z.
PS:¦³­«½Æ®É,·|¤ÏÀ³.

2. F:\234\ ¸Ì­±¦³«Ü¦h.TXTªºÀɮסA­n²¾¨ìG:\ABC\DD¤º ,¦pµLDD¸ê®Æ§¨,´N«Ø¥ß¤@­Ó,
,²¾°ÊÀɮ׫á, Åã¥Ü¥X,²¾¤F´X­Ó,¦p¦ó¥ÎVBS ³B²z.

THS

¥i¥H°Ñ¦ÒFileSystemObject
¬ÛÃö½d¨Ò¦p¤U
http://msdn.microsoft.com/en-us/library/z9ty6h50(v=vs.85).aspx

TOP

¦^´_ 1# tomking


2. F:\234\ ¸Ì­±¦³«Ü¦h.TXTªºÀɮסA­n²¾¨ìG:\ABC\DD¤º ,¦pµLDD¸ê®Æ§¨,´N«Ø¥ß¤@­Ó,
,²¾°ÊÀɮ׫á, Åã¥Ü¥X,²¾¤F´X­Ó,¦p¦ó¥ÎVBS ³B²z
A2¡G
IF DIR("G:\ABC\DD")= "" THEN
          MKDIR("G:\ABC\"&DD)
ENDIF

  ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~

  ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
  ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡­n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
  ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk

  ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM

TOP

        ÀR«ä¦Û¦b : ¡i»X½ªªº¦Û¥Ñ¡j¤H±`¦b¤°»ò³£¥i¥H¦Û¥Ñ¦Û¦bªº®É­Ô¡A«o³Q³oºØÀH¤ß©Ò±ýªº¦Û¥Ñ»X½ª¡AµêÂY®É¥ú¦Ó²@µLıª¾¡C
ªð¦^¦Cªí ¤W¤@¥DÃD