Skip to main content
Dominique Sacre
Rocketeer
Feb 15, 2013 10:48 PM UTC

Problems running a .bat from Net Express project

Problem:

Trying to run a batch file from within a Net Express project.

In this example, the batch file contains calls to mfsort.

From the command line this all works fine but this does not work from within the IDE.

Resolution:

Not able to run a bat file directly from a project but there is a possibility to add it as a tool.

For example:

1. Click on the Options menu/Customize IDE/Tools

2. Click on "New Tool" and type in a name for the tool, e.g. MFSORT

3. In the "command" field type in the path and name of the bat file, e.g. C:\\tools\\mfsort.bat

4. Click OK to save and then select "Tools" from the IDE menu.

5. Find MFSORT and click on it and the bat file should run.

Old KB# 4372