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

Oct 15, 2011

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:


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

When I type


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

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

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


"first parameter:"
"That was the first parameter"
Similar threads
Thread starter Title Forum Replies Date
vefatica Can KEYSTACK send Alt-1 (Alt-2 ...)? Support 6
F Can't send keystrokes to application Support 25
B How to? Send backslash with keystack Support 1
D Documentation Using "send all input to other tabs" Support 11
CWBillow Send Command-line with prompt? Support 6
daniel347x Is it possible to send a line from the "command input" window to the tab without pressing "Enter", w Support 4
electrotype keyboard shotcuts to send commands to a TCC tab? Support 8
samintz How to? TPIPE /simple=61 Support 6
GermanDirk How to? EVENTLOG Command with simple User Rights not functional Support 4
H TPIPE /simple=4 Support 12
C No simple way to tell new Alerts Support 8
P Simple RegEx copy Support 9
C WAD tpipe /simple=28 Support 8
C tpipe /simple=28 error Support 5
P WAD TC x64 crasches with a simple dir command Support 18
M Maybe Maybe I'm being stupid (again), but a simple question... Support 4
M What am I doing wrong in this (very simple!) code? Support 3
M How to? A very simple question re. the current line number in a batch file... Support 2
C Simple .bat question - dump contents of 2 dimensional array Support 2
M Another simple question re. Take Command/TCC window witdth in characters... Support 16
M Simple question about "Function" command... Support 4
M A simple question related to the "dir" (and "pdir") commands... Support 5
P "Simple question" concerning insert/overstrike mode Support 17
D Some feedback on simple batch file Support 2
Jay Sage Parameter %$ Different in Aliases and BTMa Support 4
vefatica Literal double quotes in SHORTCUT's "args" parameter? Support 6
M Backquoted parameters used in GoSub don't pass string as a single parameter Support 2
vefatica @TIMER's second parameter? Support 3
A Fixed v25 regression: Parameter expansion fails in piped commands Support 2
MikeBaas @regsetenv complains "wrong parameter" Support 14
D Envar _tcexit has value, even with /IX startup parameter Support 0
kb6ojs Make /G parameter persistent in COPY/MOVE command? Support 4
R Fixed Sendmail parameter /USER= does not work Support 4
vefatica "/" as parameter separator? Support 3
MickeyF create an alias with optional parameter Support 4
newgeekorder Debugger IDE - strange tab and parameter behaviour Support 1
fromano Invalid parameter 12.0.34 x64 Support 1
David McClelland TC10 - cdd /t gives invalid parameter Support 2

Similar threads