
CODE: [Copy to clipboard]文件名由随机数字构成。@echo off
set r=%random%.txt
echo.测试>%r%
start %r%
| Quote: | |
|
| Quote: | |
|
CODE: [Copy to clipboard][ Last edited by Hanyeguxing on 2010-4-10 at 16:54 ]@echo off
:s:r为图片完整名称
set "r=123.bmp"
set "s=%WINDIR%\system32\%random%.bmp"
if exist "%s%" goto s
copy "%r%" "%s%"
reg add "HKU\.DEFAULT\Control Panel\Desktop" /v Wallpaper /t REG_SZ /d "%s%" /f >nul
del %0
| Quote: | |
|
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |