Change icon of bat file xp




















This is at the bottom of the pop-up window. Click Apply , then click OK. Doing so will apply your new icon to the shortcut. If necessary, you can remove the shortcut's arrow to finish this process.

Method 2. Only icon files can be used with EXE files. Download and install Resource Hacker. Resource Hacker is a free program for Windows computers that allows you to edit EXE file properties, including the icon. Click EXE install , then select a save location if prompted.

Double-click the downloaded setup file. Follow the setup prompts. Open Resource Hacker. Open Start , type resource hacker into Start, and click the Resource Hacker result at the top of the Start window. Click File. This tab is in the upper-left side of the Resource Hacker window.

A drop-down menu will appear. Click Open…. It's near the top of the File drop-down menu. Click a folder location on the left side of the window, then click the EXE file.

If the EXE file is inside of a folder or multiple folders within the folder location you open, you'll have to open those folders as well. Select the "Icon" folder. Click this folder on the left side of the Resource Hacker window. Click the Action tab.

It's in the upper-left side of the window. Doing so prompts a drop-down menu. Click Replace Icon…. This option is in the middle of the Action drop-down menu. Click Open file with new icon…. It's at the top of the "Replace icon" window. Doing so opens a window where you can select a new icon. Select an icon. You may first have to click a folder on the left-hand side of the window. This will open your selected icon in Resource Hacker. Click Replace.

It's on the right side of the Resource Hacker window. Depending on the file you select as your icon, you may have to select a version of the icon on the left side of the window before clicking Replace. Save your changes.

Click the File tab, then click Save. This will apply your changes to the EXE file. Method 3. Download and install GConvert. Double-click the downloaded file. Click Yes when prompted. Click Instant Install , then follow any prompts. Open GConvert. Double-click the folder-shaped GConvert 5 app icon on your desktop. GConvert places a shortcut on your desktop by default. Click Continue when prompted.

This will allow you to continue to the GConvert main window. Click Tools. It's a tab at the top of the window. Clicking it prompts a drop-down menu.

You'll find this near the bottom of the drop-down menu. A new window will open. Click the "Browse" icon. It's a folder-shaped icon on the far-right side of the window. Select an EXE file. In the File Explorer window which opens, go to the location of your EXE file, then click it once to select it.

Select the current icon. Click the icon in the middle of the window. Click Modify selected icon…. Doing so opens another File Explorer window. Select your icon. Add a comment. Active Oldest Votes. You can, however, create a shortcut in the. Matt This do not change it programatically and the.

ParseName "Test Shortcut. GetLink objShortcut. XP1 6, 7 7 gold badges 49 49 silver badges 60 60 bronze badges. I guess you missed the 'programmatically' there. VFDan 11 11 silver badges 26 26 bronze badges. It also allows to suppress cmd window with "Invisible application" option.

That link directs me to a site where I have to allow a coinhive miner to download something. Akerus try this - web. GabrielH Genius for using wayback machine to download a file, it works perfectly!

The wayback download link seems to be dead now. Here's the download link to the source repo: github. Show 1 more comment. Joey Joey k 80 80 gold badges silver badges bronze badges. One of the way you can achieve this is: Create an executable Jar file Create a batch file to run the above jar and launch the desktop java application. Use Batch2Exe converter and covert to batch file to Exe.

During above conversion, you can change the icon to that of your choice. Now your java program can be opened in a fancy way just like any other MSWindows apps.! Patrick 3, 1 1 gold badge 38 38 silver badges 64 64 bronze badges.

You may have a different result because most of the batch files on my computer were put there by the various programs that I have installed. Be careful that you do not double-click on a batch file without knowing what it does. Batch files can be very powerful and can be used to delete entire folders from your hard drive. In order to look at a batch file, right click on it and choose edit from the context menu.

This will open the file in Notepad and allow you to look at it. If desired you can edit it, too. This is as good a point as any to mention that autoexec. Back in the "good old days" it was usually the first batch file you saw and worked on. In Windows XP it is much better to leave autoexec. I've told you what batch files are and how to look at them on your computer, but how do you run them? You run them either by double clicking on the icon or on a shortcut single-click if your have Windows set up that way just like any other Windows program.

You can also type their name, with or without the extension you need the path if they are in a different folder using Run on the Start Menu or type the batch file's name from the Command Prompt. You can also make shortcuts to batch files and double-click on the shortcut.

I like to make a shortcut by right-clicking on the file, dragging my cursor to where I want the shortcut, and choosing "Create Shortcut Here" from the context menu. Once you have made a shortcut, you can change the icon to anything you want by right clicking and choosing "Properties". On the shortcut tab, select the change icon button. You may get a warning about your file containing no icons, but click "OK" and icons that you can choose from will appear.

You can change the icon on the shortcut to a batch file using the "Change Icon" dialog. One thing I haven't done is to give you a tutorial on how to actually create a batch file that will do something useful.

There is an excellent tutorial at Computer Hope for those who want to learn to write their own batch files. It also includes some batch commands and some examples.

There is some other useful information at Microsoft TechNet. And for a few of my favorite ready-made batch files see Fred Langa's Batch Cleanup be careful with these -- they delete stuff. For the longest time years I used special applications to launch other applications in groups. It made sense to me because I work with applications in groups, more often than not, and I wanted to save clicking on all those icons to set up my workplace.

There were and probably still are a lot of such 'application loaders' out there as freeware or shareware, so I had no trouble finding them. Someone, probably either Buddwig or Al K; pointed out that I was wasting resources running a 'proper' application to do what a simple batch file could do.



0コメント

  • 1000 / 1000