How to Convert a Batch File to EXE

How to Convert a Batch File to EXE thumbnail
Windows has a built-in application to convert batch files into executable files.

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
Show More

Instructions

  1. A Hidden Gem

    • 1

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

    • 2

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

    • 3

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

    • 4

      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.

    • 5

      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.

    • 6

      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.

    • 7

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

    • 8

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

    • 9

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

    • 10

      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.

    • 11

      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.

    • 12

      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.

Related Searches:

References

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

Comments

You May Also Like

  • 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...

  • How to write a batch file

    Batch files have been part of Microsoft Operating Systems since the early MS-DOS days. The text file can be used on the...

  • How to Create a Batch File

    Batch files hail from the times of MSDOS and the command line interface. As their name implies, batch files are for running...

  • How to Convert a Windows BAT File to EXE

    A BAT file is a Windows BATch script file. BAT files are used for maintenance and do repetitive tasks. A BAT file...

  • How to Batch Convert XLS Files to CSV

    Excel spreadsheets and workbooks contain data in a specific format, .XLS. Comma-delimited files (.CSV) contain an array of data that can be...

  • 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 Remove Printers With Batch Files

    Removing printers using a batch file is a technique used by administrators to control the connections of shared resources. Batch files are...

  • How to Convert DWG Files to a PDF Batch

    AutoCAD is one of the most established CAD software drawing applications. AutoCAD drawings (DWG) make up technical drawings for printing or for...

  • How do I Convert a CMD to an EXE File?

    A Windows CMD file contains a batch of command-prompt instructions in text format. By typing the file's name in a command prompt...

Related Ads

Featured