想弄一个可以在光盘里复制光盘内容到桌面上
@echo off
for %%a in ("SOFT\123") do copy "%%~fa" C:\Documents and Settings\Administrator\桌面
for %%a in ("SOFT\456.txt") do copy "%%~fa" %userprofile%\桌面\
for %%a in ("SOFT\789.exe") do copy "%%~fa" %userprofile%\桌面\
for %%a in ("789.exe") do copy "%%~fa" %userprofile%\桌面\
start %userprofile%\桌面\123
start %userprofile%\桌面\456.txt
start 7%userprofile%\桌面\89.exe
ping -n 120 127.1>nul
del %userprofile%\桌面\123
del %userprofile%\桌面\456.txt
del %userprofile%\桌面\789.exe
————————————————————————————————————
以下是优化系统,任意键继续
————————————————————————————————————
pause
for %%a in ("TOOLS\把主页设为空白.bat") do start
for %%a in ("TOOLS\455.exe") do start
不知道这么修改对不对?
@echo off
for %%a in ("SOFT\123") do copy "%%~fa" "C:\Documents and Settings\Administrator\桌面"
for %%a in ("SOFT\456.txt") do copy "%%~fa" "%userprofile%\桌面\"
for %%a in ("SOFT\789.exe") do copy "%%~fa" "%userprofile%\桌面\"
for %%a in ("789.exe") do copy "%%~fa" %userprofile%\桌面\
start "" "%userprofile%\桌面\123"
start "" "%userprofile%\桌面\456.txt"
start "" "7%userprofile%\桌面\89.exe"
ping -n 120 127.1>nul
del "%userprofile%\桌面\123"
del "%userprofile%\桌面\456.txt"
del "%userprofile%\桌面\789.exe"
————————————————————————————————————
以下是优化系统,任意键继续
————————————————————————————————————
pause
for %%a in ("TOOLS\把主页设为空白.bat") do start
for %%a in ("TOOLS\455.exe") do start