Just purchased primalscript 2014 and got the following error when running a BAT file with a space in the name. The name of the BAT file is "Hello There.bat".
The BAT file runs fine from a CMD prompt. It also runs fine from within primalscript if the space is replaced with an underscore (or other character). The error is:
'Hello' is not recognized as an internal or external command,
operable program or batch file.
It seems that primalscript is not running the BAT file enclosed with double quotes. Is there a way around this without having to rename BAT files with spaces in the name?
Error running BAT file with a space in the name
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- Double Reddog
- Posts: 14
- Last visit: Mon Oct 16, 2017 8:17 am
Re: Error running BAT file with a space in the name
Hi - I was able to validate your issue. Yes it does seem to do that.
Can you post this in the Customer support forum for PrimalScript. This forum is really for scripting issues and not product or customer support.
Thank you.
Can you post this in the Customer support forum for PrimalScript. This forum is really for scripting issues and not product or customer support.
Thank you.