How can I send a simple parameter to a script, in tc 25?

Oct 15, 2011
23
0
Hi,

I had a more complicate script that doesn't working, and it turned out that the parameters aren't being interpreted by the IDE. So I whittled it down to a simple script, and there's still a problem:

testthis.bat:

Code:
@echo off
@echo "first parameter:"
@echo %1
@echo "That was the first parameter"

When I type

IDE TESTTHIS.BAT "WHATTHE"


, the %1 parameter is blank inside the IDE. So only this displays:

"first parameter:"
ECHO is OFF
"That was the first parameter"


If I run it normally without the IDE, it returns the expected results:

TESTTHIS.BAT "WHATTHE"

"first parameter:"
"WHATTHE"
"That was the first parameter"