Jump to content

Recommended Posts

Posted

Hi,

I'm trying to launch / execute batch files in WPI with dots (.'s) in the path (as well in the directories above the WPI directory as in the WPI install directories). (I'm not running WPI from CD/DVD but from an external USB hard drive.)

The WPI log says launching the batch files (.bat file or .cmd file) went fine, but it does not get executed. Running the command (taken from the WPI log) manually shows it stumbles on the dots in the path.

I tried it directly and with {START} but nothing seems to work. Any clues (apart from removing dots from all paths)? Thx.


Posted

This did (do) the trick:

{START} /d "%wpipath%\\Install\\1. directory with a dot in the name\\" /WAIT "" "MyBatchFile.bat"

or in config.js terms:

cmds[pn]=['{START} /d "%wpipath%\\Install\\1. directory with a dot in the name\\" /WAIT "" "MyBatchFile.bat"'];

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...