- ©«¤l
- 549
- ¥DÃD
- 152
- ºëµØ
- 0
- ¿n¤À
- 691
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN7
- ³nÅ骩¥»
- OFFICE 2010
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2013-8-10
- ³Ì«áµn¿ý
- 2022-9-7
|
¦^´_ 1# rouber590324
¸Õ¸Õ¬Ý,¥i¥H¤£§R°£¸ê®Æ§¨ª½±µÂл\§Y¥i- Sub test()
- floderName = "C:\Users\user\Downloads\·s¼W¸ê®Æ§¨"
- Backup_floderName = "C:\Users\user\Downloads\·s¼W¸ê®Æ§¨2"
- If Dir(floderName, 16) = "" Then MsgBox "µL¦¹¸ê®Æ§¨": Exit Sub
- 'If Dir(Backup_floderName, 16) <> "" Then Shell "c:\windows\system32\cmd.exe /c rd ""C:\Users\user\Downloads\·s¼W¸ê®Æ§¨2""/s/q", vbHide '¦¹¦æ¬°§R°£¸ê®Æ§¨µ{¦¡½X
- Set fso = CreateObject("Scripting.FileSystemObject")
- fso.CopyFolder floderName, Backup_floderName, True '½Æ»s¸ê®Æ§¨(Âл\)
- End Sub
½Æ»s¥N½X |
|