Hi
Why doesn't the two-command button work?
cmd=cmd /c start /b "" "C:\Program Files\7-Zip\7z.exe" && start /b "" pause
param=l "%Q%N"
I need to pause the window after listing the archive via 7-Zip
Please help !!!
HELP: Button with two commands !!!!!!!!!!!!!!!!!!!!!!!
Moderators: Hacker, petermad, Stefan2, white
- sqa_wizard
- Power Member
- Posts: 3893
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
Re: HELP: Button with two commands !!!!!!!!!!!!!!!!!!!!!!!
Try
cmd=cmd /c start /b "" "C:\Program Files\7-Zip\7z.exe"
param=l "%Q%N" & pause
cmd=cmd /c start /b "" "C:\Program Files\7-Zip\7z.exe"
param=l "%Q%N" & pause
#5767 Personal license
Re: HELP: Button with two commands !!!!!!!!!!!!!!!!!!!!!!!
If your goal is to have the files in the archive listed in command console then try this:
the /k parameter keeps the console window open.
Actuall this also works:
or you can use sqa_wizard's sugesstion:
then you can close the window just by pressing enter instead of having to click the x in the upper right corner.
This is an EDITED solution
Code: Select all
cmd=cmd /k call "C:\Program Files\7-Zip\7z.exe"
param=l "%Q%N"
Actuall this also works:
Code: Select all
cmd=cmd /k start /b "" "C:\Program Files\7-Zip\7z.exe"
param=l "%Q%N"
Code: Select all
cmd=cmd /c start /b "" "C:\Program Files\7-Zip\7z.exe"
param=l "%Q%N" && pause
This is an EDITED solution
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar