Support Forums

Error running BAT file with a space in the name

Batch, ASP, JScript, Kixtart, etc.
Forum rules
Do not post any licensing information in this forum.
User avatar
Double Reddog
Posts: 14
Joined: Sun Mar 03, 2013 12:39 pm

Error running BAT file with a space in the name

Postby Double Reddog » Wed Mar 26, 2014 2:43 pm

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?
User avatar
jvierra
Posts: 9698
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: Error running BAT file with a space in the name

Postby jvierra » Wed Mar 26, 2014 3:10 pm

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.

Return to “Other Scripting Languages”

Who is online

Users browsing this forum: No registered users and 6 guests