![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-09-13 22:47 |
47,812 topics / 349,916 posts / today 0 new / 48,268 members |
| 论坛回收站 » Please provide the specific content of the bat you wrote so that I can help you translate it. |
| Printable Version 2,233 / 5 |
| Floor1 woaixusijie | Posted 2008-01-30 22:41 |
| 新手上路 Posts 10 Credits 10 | |
|
Post my own written bat, hoping that前辈s can give some adviceClick here to download (Extraction code: 1cece265)
|
|
| Floor2 ZJHJ | Posted 2008-01-31 13:13 |
| 高级用户 Posts 374 Credits 609 | |
|
@shift 1
@echo off title Essential for Surfing the Web!! :logon cls echo. echo 【 ★============★ 】 echo 【 Essential for Surfing 】 echo 【 ★============★ 】 echo ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ echo ★ ★ echo ★ 1. 【 Baidu Search 】 5. 【Repair IE Cannot Browse】 ★ echo ★ ★ echo ★ 2. 【 Clear Junk 】 6. 【Delete Startup Items】 ★ echo ★ ★ echo ★ 3. 【Clear Right-Click Menu】 7. 【Clear Excess Startup Items】 ★ echo ★ ★ echo ★ 4. 【Unlock Registry】 8. 【More】 ★ echo ★ ★ echo ★ ★ echo ★ h. 【Help】 u. Visit Author's Space q.【Exit】 ★ echo ★ ★ echo ★★★★Made by J Rabbit★★★★★★★★Contact QQ: 859557092★★★★★ echo. set choice= set /p choice=◆Please press the key to choose: if /i "%choice%"=="1" goto baidu if /i "%choice%"=="2" goto laji if /i "%choice%"=="3" goto youjian if /i "%choice%"=="4" goto jiesuo if /i "%choice%"=="5" goto ie if /i "%choice%"=="6" goto ziqidong if /i "%choice%"=="7" goto duoyuqidongxiang if /i "%choice%"=="8" goto gengduo if /i "%choice%"=="u" goto kongjian if /i "%choice%"=="h" goto help if /i "%choice%"=="q" goto exit goto logon :exit exit :baidu cls set/p a=Please enter the keyword: start http://www.baidu.com/s?wd=%a% echo Done, press any key to return to the main menu... pause & goto logon :laji cls echo Clearing system junk files, please wait...... del /f /s /q %systemdrive%\*.tmp >nul 2>nul del /f /s /q %systemdrive%\*._mp >nul 2>nul del /f /q %systemdrive%\*.log >nul 2>nul del /f /s /q %systemdrive%\*.gid >nul 2>nul del /f /s /q %systemdrive%\*.chk >nul 2>nul del /f /s /q %systemdrive%\*.old >nul 2>nul del /f /s /q %systemdrive%\recycled\*.* >nul 2>nul del /f /s /q %windir%\*.bak >nul 2>nul del /f /q %windir%\kb*.log >nul 2>nul del /f /s /q %windir%\*.tmp >nul 2>nul del /f /s /q %windir%\prefetch\*.* >nul 2>nul for /f "delims=" %%1 in ('dir /b /a "%windir%\temp"') do erase /s /q /a "%windir%\temp \%%1" >nul 2>nul del /f /q %userprofile%\recent\*.* >nul 2>nul del /f /s /q "%userprofile%\recent\*.*" >nul 2>nul del /f /s /q "%userprofile%\locals~1\temp\*.*" >nul 2>nul for /f "delims=" %%1 in ('dir /b /a "%userprofile%\locals~1\temp"') do erase /s /q /a "%userprofile%\locals~1\temp\%%1" >nul 2>nul & rd /s /q "%userprofile%\locals~1\temp\%%1" >nul 2>nul for /f "delims=" %%1 in ('dir /b /a "%userprofile%\locals~1\tempor~1\"') do erase /s /q /a "%userprofile%\locals~1\tempor~1\%%1" >nul 2>nul & rd /s /q "%userprofile%\locals~1\tempor~1\%%1" >nul 2>nul echo System LJ cleared! Press any key to return to the main menu... pause & goto logon :youjian regsvr32 /u /s igfxpph.dll reg delete HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers /f reg add HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\new /ve /d {D969A300-E7FF-11d0-A93B-00A0C90F2719} reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v HotKeysCmds /f reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v IgfxTray /f echo Done, press any key to return to the main menu... pause & goto logon :jiesuo reg add "HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System" /v DisableRegistryTools /t reg_dword /d 00000000 echo Done, press any key to return to the main menu... pause & goto logon :ie regsvr32 actxprxy.dll regsvr32 shdocvw.dll regsvr32 oleaut32.dll regsvr32 urlmon.dll echo Done, press any key to return to the main menu... pause & goto logon :gengduo @echo This module is under construction.... echo Press any key to return to the main menu... pause & goto logon :ziqidong ECHO Windows Registry Editor Version 5.00>SoundMam.reg ECHO >>SoundMam.reg ECHO >>SoundMam.reg ECHO "SoundMam"=->>SoundMam.reg REGEDIT /S SoundMam.reg DEL /F /Q SoundMam.reg echo Done, press any key to return to the main menu... pause & goto logon :duoyuqidongxiang reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /va /f reg delete HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run /va /f reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run /v ctfmon.exe /d C:\WINDOWS\system32\ctfmon.exe reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg" /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\IMJPMIG8.1" reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\IMJPMIG8.1" /v command /d ""C:\WINDOWS\IME\imjp8_1\IMJPMIG.EXE" /Spoil /RemAdvDef /Migration32" reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\IMJPMIG8.1" /v hkey /d HKLM reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\IMJPMIG8.1" /v inimapping /d 0 reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\IMJPMIG8.1" /v item /d IMJPMIG reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\IMJPMIG8.1" /v key /d SOFTWARE\Microsoft\Windows\CurrentVersion\Run reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002A" reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002A" /v command /d "C:\WINDOWS\system32\IME\TINTLGNT\TINTSETP.EXE /IMEName" reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002A" /v hkey /d HKLM reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002A" /v inimapping /d 0 reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002A" /v item /d TINTSETP reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002ASync" reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002ASync" /v command /d ""C:\WINDOWS\IME\imjp8_1\IMJPMIG.EXE" /Spoil /RemAdvDef /Migration32" reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002ASync" /v hkey /d HKLM reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002ASync" /v inimapping /d 0 reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002ASync" /v item /d TINTSETP reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\PHIME2002ASync" /v key /d SOFTWARE\Microsoft\Windows\CurrentVersion\Run del "C:\Documents and Settings\All Users\「Start」Menu\Programs\Startup\*.*" /q /f del "C:\Documents and Settings\Default User\「Start」Menu\Programs\Startup\*.*" /q /f del "%userprofile%\「Start」Menu\Programs\Startup\*.*" /q /f echo Done, press any key to return to the main menu... pause & goto logon :help @echo ●○This program was written by me after referring to the program made by Comrade Xiu Yiming○● @echo ●○There may be similar places, but it is definitely not plagiarism○● @echo ●○The batch processing in the program is collected from the Internet○● @echo Most of the scripts in this program come from Script Home http://www.jb51.net/ @echo Everyone is welcome to post suggestions and opinions in my QQzone @echo Space address:http://user.qzone.qq.com/859557092 @echo John.p @echo 2008.1.30 echo Done, press any key to return to the main menu... pause & goto logon :kongjian strat http://user.qzone.qq.com/859557092 echo Done, press any key to return to the main menu... pause & goto logon |
|
| Floor3 dhlmdsnw | Posted 2008-01-31 14:15 |
| 初级用户 Posts 59 Credits 127 | |
|
Dear upstairs great, seeing that you write such excellent code, could you please take a look at my post... There's a problem. Yesterday, Terse great gave me a code, but there was an issue with using it, so the problem hasn't been solved. Now I'm in a hurry, can you help take a look again? The post title: Delete special characters in a text file but keep the format unchanged. http://www.cn-dos.net/forum/viewthread.php?tid=37424&fpage=1 Thanks in advance...
|
|
| Floor4 lvch | Posted 2008-01-31 21:15 |
| 新手上路 Posts 2 Credits 4 | |
| Floor5 zncznc | Posted 2008-02-15 06:18 |
| 新手上路 Posts 8 Credits 16 | |
|
Not bad. Great!
|
|
| Floor6 xqx | Posted 2010-08-14 10:10 |
| 初级用户 Posts 25 Credits 28 | |
|
Haha, I originally also made something a bit similar, and it was a bit of a hassle when selecting. Then I changed it to a.hta switch.
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |