cm_UnpackFiles "/S /G" and "/G" do the same?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
KozakMak
Senior Member
Senior Member
Posts: 489
Joined: 2021-05-24, 12:39 UTC
Location: UA

cm_UnpackFiles "/S /G" and "/G" do the same?

Post by *KozakMak »

cm_UnpackFiles /T="." /G
and
cm_UnpackFiles /T="." /S /G
do the same?






Moderator message from: Stefan2 » 2023-07-20, 08:55 UTC

Subject adjusted. Please take care yourself to use a more informativ subject line, thanks.
OS: Win10 | TC: latest x64
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: cm_UnpackFiles "/S /G" and "/G" do the same?

Post by *petermad »

cm_UnpackFiles /T="." /G
and
cm_UnpackFiles /T="." /S /G
do the same
Not here - /S copies to folders with the same name as the selected archive(s) (without the extension) - withhout /S all the files are unpacked to the current dir (try with an archive without subfolders inside - then it is easy to see the difference.

BTW you don't need a / before each parameter - one is enough: cm_UnpackFiles /T="."SG
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
KozakMak
Senior Member
Senior Member
Posts: 489
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: cm_UnpackFiles "/S /G" and "/G" do the same?

Post by *KozakMak »

okey, i figured it out: /T="."S0G
OS: Win10 | TC: latest x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: cm_UnpackFiles "/S /G" and "/G" do the same?

Post by *ghisler(Author) »

S0 turns off the option to unpack to subdirs if it was enabled before.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: cm_UnpackFiles "/S /G" and "/G" do the same?

Post by *ghisler(Author) »

Moderator message

Moved to English forum
Author of Total Commander
https://www.ghisler.com
Post Reply