是否可以創建一個DOS腳本,每隔10分鐘將2000個文件移動到另一個文件夾?DOS批處理文件每10分鐘移動2000個文件
例如:
C:\ MyFolder文件\
每10分鐘2000個移動文件到C:\ MyNewFolder \
謝謝!
是否可以創建一個DOS腳本,每隔10分鐘將2000個文件移動到另一個文件夾?DOS批處理文件每10分鐘移動2000個文件
例如:
C:\ MyFolder文件\
每10分鐘2000個移動文件到C:\ MyNewFolder \
謝謝!
我會使用類似xcopy的建議,但我會使用日期標誌來指定只複製新文件。只是省略日期,它只會複製較新的文件。
/C Continues copying even if errors occur. /D:m-d-y Copies files changed on or after the specified date. If no date is given, copies only those files whose source time is newer than the destination time. /E Copies directories and subdirectories, including empty ones.
xcopy C:\Source Z:\Destination /C /D /E
再次閱讀問題。他不想複製文件;而是他想每10分鐘左右做一次手術。 – SuperSaiyan 2011-01-23 17:31:40
使用schtasks的。
你可能想看看這裏:http://technet.microsoft.com/en-us/library/bb490996.aspx
可能感興趣的:http://stackoverflow.com/questions/364367/fastest-way-to-move-files-on-a-windows-system – Fionnuala 2011-01-23 17:16:08