How to Convert a Batch File to EXE

Save

Sometimes it can be necessary to convert a batch or .BAT file to an .EXE, or executable file for various reasons. Windows provides an easy way to perform this task buried in the system folders of the operating system.

Things You'll Need

  • Computer with Windows 95 or higher
  • A batch file that needs converting

A Hidden Gem

  • Access your start menu and find the "My Computer" or "Computer" option. Click on this once.

  • A list of storage devices on your computer will appear. Double-click on your primary hard drive, usually "C:".

  • Toward the bottom of the next list, you will find the "Windows" directory. Double-click this as well.

  • A list of somewhat cryptic subdirectories will appear now. Use your mouse to move down the list until you find the directory labeled "System32". Double-click the folder.

  • Inside the System32 folder are many more subdirectories. If you scroll all the way down the list, you will find a point where the subdirectories end and the actual file content of the folder begins. Continue to scroll until you find the file "Iexpress". Click this twice and the application will launch.

  • On the welcome screen for Iexpress, check the bubble button next to the first item. It says "Create new self-extraction directive file." Once it is selected, press the next button.

  • The next screen will have more options. For this operation, select "Extract files and run an installation command."

  • Title your project as you see fit on the next screen. When finished, push the next button.

  • Choose "No prompt" from the next screen, as we do not need any of these extra options.

  • Use the "Add" button to add your batch file that you want converted. Once you select it, you will have to navigate to the folder on your computer where your file is kept.

  • There are a few options screens that allow you to make selections. These are personal preference. You can choose to show a licensing agreement when your forthcoming executable file is run. You can determine whether a finished message will appear. Choose the options that are applicable to your situation.

  • On the next screen, you must pick your destination folder for your executable file. Navigate to the folder of your choice. You can select the box to deactivate the restart button if you don't need the computer to restart after creating the file. When ready, press "Next" and your file has been created in the directory you specified.

Tips & Warnings

  • When navigating file folders, the contents are in alphabetical order. First come folders in their entirety, and then come files.
  • If you like, at the end of the process, Iexpress has an option onscreen to save your settings if you plan on doing this operation often.

References

  • Photo Credit computer image by Orlando Florin Rosu from Fotolia.com
Promoted By Zergnet

Comments

You May Also Like

  • How to Convert CPP File to EXE

    A .cpp is a file extension that is used for C++ source files. A file with the .cpp extension contains C++ programming...

  • How to Convert BAT to EXE

    "BAT" files (.bat) are batch text files incorporating a series of commands for execution by a command interpreter. These file extensions work...

Related Searches

Check It Out

Geek Vs Geek: Robot battles, hoverboard drag race, and more

M
Is DIY in your DNA? Become part of our maker community.
Submit Your Work!