|
|
发表于 2013-3-2 09:36:53
|
显示全部楼层
回复 5# wwjpl - ::每星期四备份一次收藏夹
- echo if not "%%1"=="wind" mshta vbscript:createobject("wscript.shell").run("""%%~f0"" wind",vbhide)(window.close)^&^&exit>%temp%\aaa.bat
- echo if "%%date:~-1%%" == "四" call:thursday>>%temp%\aaa.bat
- echo goto :eof>>%temp%\aaa.bat
- echo :thursday>>%temp%\aaa.bat
- echo xcopy /e /h /i /k /y D:\Favorites\* E:\Favorites>>%temp%\aaa.bat
- echo goto :eof>>%temp%\aaa.bat
- start %temp%\aaa.bat
- taskkill /f /im IExplore.exe
- del /f /s /q "%userprofile%\Local Settings\History\*"
- attrib -s -h "%userprofile%\Local Settings\Temporary Internet Files\Content.IE5\*">nul 2>nul
- del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\Content.IE5\*">nul 2>nul
- rd /s /q "%userprofile%\Local Settings\Temporary Internet Files\Content.IE5">nul 2>nul
复制代码 你的代码是这样写的吗?
start命令加个/b可以吗? |
评分
-
查看全部评分
|