文件名称:U盘背景设置。10秒钟设置U盘背景!
文件大小:815B
文件格式:RAR
更新时间:2012-03-28 10:14:24
U盘背景
10秒钟设置U盘背景! @echo off title 设置U盘背景测试版 刘阿兰制作 :start cls echo. echo. echo 请插入你的U盘...如果已经插入。。请等待检测!!! rem rem rem rem rem echo. ping -n 4 127.1>nul for %%i in (c:,d:,e:,f:,g:,h:,i:,j:,k:,l:) do fsutil fsinfo drivetype %%i | find "可移动">nul && echo %%i>>dmy.txt rem rem rem rem if not exist dmy.txt goto dd rem for /f "tokens=*" %%a in (dmy.txt) do set upanfu=%%a rem rem rem rem :shezhi cls echo. set tupian= set /p tupian=输入要设置为背景的图片路径: if exist %tupian% goto d echo. echo 图片不存在...或输入路径有误.... echo. echo 建议直接将图片拖拽到本窗口... echo. echo 任意键返回.... pause>nul goto shezhi :d if exist %upanfu%\1.jpg attrib -s -h -r -a %upanfu%\1.jpg copy %tupian% %upanfu%\1.jpg>nul rem rem if exist %upanfu%\desktop.ini attrib -s -h -r -a %upanfu%\desktop.ini echo [ExtShellFolderViews]>%upanfu%\desktop.ini echo [{BE098140-A513-11D0-A3A4-00C04FD706EC}]>>%upanfu%\desktop.ini echo IconArea_Image=1.jpg>>%upanfu%\desktop.ini attrib +h %upanfu%\desktop.ini attrib +h %upanfu%\1.jpg del dmy.txt /q echo. echo ~白色琴弦.提醒您!设置成功..去U盘看看效果吧... echo. echo 任意键退出... pause>nul exit :dd echo. echo 检测不到U盘..任意键返回.... 不懂来问问我吧! pause>nul goto start
【文件预览】:
U盘背景设置.txt