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"'];

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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