@echo off
@cls
@color a
@for /f %%d in ('date /t') do set f=%%d
@md d:\desktop\%f%
@echo move the files to d:\desktop\%f%
setlocal enabledelayedexpansion
@cd /d C:\”Documents and Settings“\Administrator\桌面
@for /f "delims=" %%t in ('dir /b /s') do (if not %%~nt==我的电脑 if not %%~nt==网上邻居 if not %%~nt==回收站 if not %%~nt=="Internet Explorer" move %%~st d:\desktop\!f! >nul 2>nul & echo %%t)
pause
[ Last edited by junchen2 on 2007-8-4 at 10:27 PM ]作者: slore 时间: 2007-8-4 22:50 为什么不直接XCOPY 桌面 文件夹?作者: junchen2 时间: 2007-8-4 23:15 slore帅哥,xcopy可以将qq.exe快捷方式移动过去了,俺咋就没想到呢!呵呵,www.cn-dos.net回复的好快啊!,Thank you