jrsoftware.org // Jordan Russell's Software


-Inno Setup







-Contact Me

visitors since
Jan. 1998

Inno Setup Knowledge Base
Return to index

HOWTO: Run batch files

Article Created: 2003-10-17 05:22 GMT by Jordan Russell
Last Updated: 2003-10-24 01:55 GMT by Jordan Russell

Under Inno Setup 4.0.9 and later, you may run a batch file by specifying the filename directly in the Filename parameter of a [Run] section entry:

Filename: "{app}\YourBatchFile.bat"

Note: If you find that on Windows 95/98/Me the console window remains on the screen after the batch file has finished executing, add a "CLS" command to the end of it.

In previous versions of Inno Setup, the recommended way to run a batch file is as follows:

Filename: "{cmd}"; Parameters: "/C ""{app}\YourBatchFile.bat"""

Site contents Copyright © 1997-2012 Jordan Russell. All rights reserved.