Since recently, I have problems with typing negative numbers in the script windows. the following script:
a=-1; type $(-1);
returns with a blank. Any other operations with negative numbers work well! I didn't have this problem before! I work with origin 6.0 SR4 on windows nt 4.0.
The type command support options in the form of unix styles switches. So you should put quotes around your string, otherwise the '-' will be interpreted as a switch, so this should work