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

[µo°Ý] ¦p¦ó§ó¦W¸ê®Æ§¨¦WºÙ©M¯S©w¸ê®Æ¤å¦rÀÉ?

[µo°Ý] ¦p¦ó§ó¦W¸ê®Æ§¨¦WºÙ©M¯S©w¸ê®Æ¤å¦rÀÉ?

¥»©«³Ì«á¥Ñ luke ©ó 2012-5-13 20:23 ½s¿è

¦U¦ì¤j¤j

Sheet1ªíA:BÄ欰ÅܼƤº®e, AÄ檺¼Æ¦rªí¥Ü¸ê®Æ§¨½s¸¹
§Y¬°0ªíLAN0¸ê®Æ§¨, ¼Æ¦r1ªíLAN1¸ê®Æ§¨,..... ¾l¦¹Ãþ±À.

±NA:BÄæ¦s¦¨TEST20.txt©MDÄæ¦s¬°OP.tx(¤º®e¥HBÄæ´À´«)
³Ì«á¶i¦æ¸ê®Æ§¨¦WºÙ§ó¦W, ¨Ì·ÓAÄæ©Ò¥Ü±N­ì©l¸ê®Æ§¨§ï¦W

¦p¦ó§ó¦W¸ê®Æ§¨¦WºÙ©M»s§@¤å¦rÀÉ?

¦^´_ 1# luke

     ¼P~ ¦³¬Ý¨S¦³À´­C~ ­n¤£­n©î¸Ñ¤@¤U~ §Aªº°ÝÃD¥ý«á¶¶§Ç~
     ²Ä¤@­Ó¨BÆJ~ ­ì©l¸ê®Æ¬°¦ó~
     ²Ä¤G­Ó¨BÆJ~ ­n¨Ì¤°»ò±ø¥ó¨Ó³B²z~
     ²Ä¤T­Ó¨BÆJ~ ­nªºµ²ªG¬°¦ó~
¾Ç²ß¤~¯à´£¤É¦Û¤v

TOP

§ïÀÉ®× ©Î ¸ê®Æ§¨¦WºÙ, ¥i¥Î name «ü¥O
¿é¥Xªº³¡¥÷, ¥i°Ñ¦Ò ¤å¦rÀÉ®× ¿é¥X«ü¥O, ex: write, print ....

TOP

¦^´_ 2# hugh0620


    §A¦n

   §Ú·Q±N¤T­Ó¸ê®Æ§¨¶i¦æ§ó¦W
   ¨Ò¦p:
   §Ú¦³LAN0, LAN1©MLAN2, ¦@3­Ó¸ê®Æ§¨
   §Ú·Qª½±µ±NLAN0¦WºÙ§ï¦¨LAN2
   LAN1§ï¦¨LAN0
   LAN2§ï¦¨LAN1
   
   ¤£ª¾¸Ó¦p¦ó¥h¼g»yªk?

TOP

¦^´_ 3# alumi


    ÁÂÁ§Aªº¦^ÂÐ

    §Ú¨S¥Î¹Lname»yªk
    ¤£ª¾¸Ó¦p¦ó¥h¼g

TOP

¦^´_ 5# luke

³o·|¦]¬°©R¦W½Ä¬ð¦Ó¥¢±Ñ¡A»Ý¥Î2¦¸©R¦W
  1. Sub yy()
  2. For i = 0 To 2
  3.   Name "E:\LAN" & i As "E:\LAN" & Format(i * 10, "00") '±N©R¦W¥N¸¹*10¨Ã¥Î2¦ì¼Æ­È¨ú¥N
  4. Next
  5. For i = 1 To 2
  6.   Name "E:\LAN" & i * 10 As "E:\LAN" & i - 1 '±Æ°£0¥H¥~­«·s©R¦W¥N¸¹-1
  7. Next
  8. Name "E:\LAN00" As "E:\LAN2" '±N­ì¨Ó½s¸¹¬°0§ï¬°2
  9. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_  alumi


    ÁÂÁ§Aªº¦^ÂÐ

    §Ú¨S¥Î¹Lname»yªk
    ¤£ª¾¸Ó¦p¦ó¥h¼g
luke µoªí©ó 2012-5-17 20:30


»yªk¦p¤U:
    name   ÂÂÀɦW©Î¥Ø¿ý¦W¦r¦ê   as   ·sÀɦW¥Ø¥Ø¿ý¦W¦r¦ê

TOP

¦^´_ 7# alumi


    ÁÂÁ§Aªº¦^ÂÐ

     H¶Wª©¦³½d¨Ò»¡©ú

     ²{¦b§Ú·Q³B²z§R°£¸ê®Æ§¨°ÝÃD,
     ¨Ò¦p§R°£E:\123¸ê®Æ§¨
     ­n¦p¦ó¥h¼g³o­Ó»yªk

TOP

¥»©«³Ì«á¥Ñ Hsieh ©ó 2012-5-17 23:24 ½s¿è

¦^´_ 8# luke
³o­n¬Ý¦¹¸ê®Æ§¨¤º¬O§_¦³¸ê®Æ
ÀÉ®×¾Þ§@­n±q³Ì¥½ºÝ¶}©l§R°£
¤]´N¬O±q¤l¸ê®Æ§¨ªºÀɮ׶}©l§R°£
kill¥i§R°£ÀÉ®×
§R§¹¤@¼hªºÀɮ׫á¦A§R¸Ó¸ê®Æ§¨
rmdir¥i§R°£¸ê®Æ§¨
ÀÉ®×¾Þ§@½Ð°Ñ¦Ò
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

Set delf = CreateObject("Scripting.FileSystemObject")
delf.DeleteFolder "E:\123"

TOP

        ÀR«ä¦Û¦b : ¡i®É¶¡¦pÆp¥Û¡j®É¶¡¹ï¤@­Ó¦³´¼¼zªº¤H¦Ó¨¥¡A´N¦pÆp¥Û¯ë¬Ã¶Q¡F¦ý¹ï·M¤H¨Ó»¡¡A«o¹³¬O¤@§âªd¤g¡A¤@ÂI»ù­È¤]¨S¦³¡C
ªð¦^¦Cªí ¤W¤@¥DÃD