In CMD.EXE the spaces are used as separators for arguments. And thus the following BAT-script will print only those characters that appear between the first and the second space in the Windows Command Prompt.
echo %1
In some shells (like, Cygwin-bash) I can use single quotes to pass an argument with spaces as a single argument. Of cause I have to rewrite the script.
echo $1
But I can run it like this.
my_script.bat 'one two'
And it will print "one two", not just "one".
Ii it possible in TCC/LE to do the same?
echo %1
In some shells (like, Cygwin-bash) I can use single quotes to pass an argument with spaces as a single argument. Of cause I have to rewrite the script.
echo $1
But I can run it like this.
my_script.bat 'one two'
And it will print "one two", not just "one".
Ii it possible in TCC/LE to do the same?