Don't close command prompt?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Stevie1
Junior Member
Junior Member
Posts: 70
Joined: 2006-09-08, 22:50 UTC

Don't close command prompt?

Post by *Stevie1 »

I have some shortcuts for flac decoding in the TC bar.
But everytime the encoding is done, the command prompt closes.
Is there a way to keep it open until I close it?
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hello, Stevie1.

Prefix a cmd.exe /k to the flac commandline.

Kind regards,
Karl
User avatar
Flint
Power Member
Power Member
Posts: 3511
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

Stevie1
Directly, no. You have to create a batch file with pause command in the end, or type the command in the command line and press Shift+Enter instead of Enter.

PS: cmd /k will work too, but it will leave the command prompt active, and to close it one needs to type exit, or click on the [X] titlebar button, while the pause command will just wait for pressing any key.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
User avatar
Stevie1
Junior Member
Junior Member
Posts: 70
Joined: 2006-09-08, 22:50 UTC

Post by *Stevie1 »

Thanks guys, that helped!
Post Reply