批处理--.bat
copy/b test.jpg+你懂得.Zip=女神.jpg
删除文件,移动到此批上面就可以删除了比较危险
DEL /F /A /Q \\?\1
RD /S /Q \\?\%1
删除空文件夹
@echo off
for %%i in (c d) ##cd盘的空文件夹
do(
if exist %%i:\(
for /f "delims="%%a in ('dir /ad /b /s "%%i:\"^|sort /r')
do (rd "%%a">nul 2>nul &&echo 空目"%%a"成功删除)"
)
)
pause
电脑自动关机
shutdown -s -t 60
小程序--.vbs
删不掉
do
msgbox("haha,删不掉我,点吧")
loop
硬盘换图标
1、图标转化为 ico 格式 《http://www.faviconico.org/favicon》
2、新建一个autorun.inf文件内容为:
[autorun]
ICON=aa.ico
讯飞输入法扫描文字更多选择,文字扫描
@echo off
if not "%P4ROOT%" == "" goto DoInstall
echo P4ROOT not set need by this script
goto end
:DoInstall
if exist %P4ROOT%\sw\tools\ddk\nt6\6001.18002\redist\winusb\x86\WinUSBCoInstaller.dll goto DoCopy
echo NT DDK at //sw/tools/ddk/nt6/6001.18002/... is not synced
goto end
:DoCopy
if "%USB_INSTALL_DIR%" == "" set USB_INSTALL_DIR=c:\temp\nvidia_usb_drivers
if not exist %USB_INSTALL_DIR% goto Start
echo first, remove existing directory %USB_INSTALL_DIR%
RMDIR /S /Q %USB_INSTALL_DIR%
:Start
mkdir %USB_INSTALL_DIR%
mkdir %USB_INSTALL_DIR%\i386
xcopy %P4ROOT%\sw\mobile\main\utils\usbpcdriver\NvidiaUsb.inf %USB_INSTALL_DIR%
xcopy %P4ROOT%\sw\tools\ddk\nt6\6001.18002\redist\wdf\x86\*.dll %USB_INSTALL_DIR%\i386
xcopy %P4ROOT%\sw\tools\ddk\nt6\6001.18002\redist\winusb\x86\*.dll %USB_INSTALL_DIR%\i386
:end
@echo off
if not "%P4ROOT%" == "" goto DoInstall
echo P4ROOT not set need by this script
goto end
:DoInstall
if exist %P4ROOT%\sw\tools\ddk\nt6\6001.18002\redist\winusb\amd64\WinUSBCoInstaller.dll goto DoCopy
echo NT DDK at //sw/tools/ddk/nt6/6001.18002/... is not synced
goto end
:DoCopy
if "%USB_INSTALL_DIR%" == "" set USB_INSTALL_DIR=c:\temp\nvidia_usb_drivers
if not exist %USB_INSTALL_DIR% goto Start
echo first, remove existing directory %USB_INSTALL_DIR%
RMDIR /S /Q %USB_INSTALL_DIR%
:Start
mkdir %USB_INSTALL_DIR%
mkdir %USB_INSTALL_DIR%\amd64
xcopy %P4ROOT%\sw\mobile\main\utils\usbpcdriver\NvidiaUsb_amd64.inf %USB_INSTALL_DIR%
xcopy %P4ROOT%\sw\tools\ddk\nt6\6001.18002\redist\wdf\amd64\*.dll %USB_INSTALL_DIR%\amd64
xcopy %P4ROOT%\sw\tools\ddk\nt6\6001.18002\redist\winusb\amd64\*.dll %USB_INSTALL_DIR%\amd64
:end