Should TC make "cmd /k" usable with Shift+Enter?

Only forum where polls are allowed. You may announce a new poll in the matching support forum.

Moderators: white, Hacker, petermad, Stefan2

Post Reply

Should TC make "cmd /k" usable with Shift+Enter?

Yes, I want this feature!
34
83%
I don't care
6
15%
No, leave it like it is
1
2%
 
Total votes: 41

User avatar
Lupus
Junior Member
Junior Member
Posts: 57
Joined: 2003-04-02, 15:10 UTC
Location: Frankfurt/M. Germany

Should TC make "cmd /k" usable with Shift+Enter?

Post by *Lupus »

TC uses noclose.pif when you press Shift+Enter for keeping the shell window open, so you can read the output of executed commands or batches.
But this shell is no longer active and allows no further working with it.
In WinXP you can use cmd.exe /k what keeps the shell open and active.

My suggestion for taking advantage of this feature within TC is adding 2 new settings to wincmd.ini.
They are meant to modify what Shift+Enter in TC does:

UseNoclosePif=(1/0)
=1 means TC uses noclose.pif from %WinDir% (current behavior). This would be standard in TC and the choice for Win9x users. Novices would not have to bother with it.
=0 is for more experienced users of WinXP/2k/NT and means TC ignores noclose.pif and is forced to execute the command with a preceded {VarText} defined in the 2nd setting:

ShiftEnterLine={VarText}
{VarText} could be cmd /k (or %comspec% /k or d:\4NT\4NT.exe /c).
For example: When you type in TC command line DoThis.bat and press Shift+Enter, TC would execute cmd /k DoThis.bat.

With this realized in TC, WinXP/2k/NT users would have the chance to get rid of this obsolete noclose.pif while TC would be downwards compatible to Win9x.

So please vote for it here!
Post your comments there (thread in english forum).
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

FYI, the feature wish has come true:
http://www.ghisler.ch/board/viewtopic.php?t=6904

Icfu
This account is for sale
homage
Junior Member
Junior Member
Posts: 2
Joined: 2005-10-23, 15:43 UTC

Post by *homage »

[mod]spam deleted

deleted by AntiSPAM mod :D[/mod]
User avatar
MPS
Junior Member
Junior Member
Posts: 90
Joined: 2004-07-27, 15:57 UTC
Location: Poland
Contact:

Post by *MPS »

i use batches with "start /w" myself.
Post Reply