7 zip command help.

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
tweacle
Posts: 71
Joined: 11 Apr 2018 05:38

7 zip command help.

#1 Post by tweacle » 21 Apr 2018 14:35

Ladies and Gents

I have been doing a lot of research on 7zip and have come up with this command after running cmd and typing in cd\program files\7-zip

7z a -t7z -r "C:\Downloads\zipped.7z" "C:\Downloads"

Can anyone tell me what im doing wrong . I opened CMD and typed in cd\program files\7-zip and then copied the command above in it and it started to run but was scanning through the whole PC rather than just C:\Downloads

I do have the commands the right way round? Any files in C:\Downloads to be zipped into C:\Downloads\zipped.7z ??

Any ideas?

ShadowThief
Expert
Posts: 1166
Joined: 06 Sep 2013 21:28
Location: Virginia, United States

Re: 7 zip command help.

#2 Post by ShadowThief » 22 Apr 2018 19:21

I cannot believe that nobody has linked this for you yet: https://sevenzip.osdn.jp/chm/cmdline/

Ed Dyreen
Expert
Posts: 1569
Joined: 16 May 2011 08:21
Location: Flanders(Belgium)
Contact:

Re: 7 zip command help.

#3 Post by Ed Dyreen » 22 Apr 2018 19:24

ShadowThief wrote:
22 Apr 2018 19:21
I cannot believe that nobody has linked this for you yet: https://sevenzip.osdn.jp/chm/cmdline/
I can, as someone who is exposing trolling behavior will ultimately be ignored by everybody.

penpen
Expert
Posts: 2009
Joined: 23 Jun 2013 06:15
Location: Germany

Re: 7 zip command help.

#4 Post by penpen » 23 Apr 2018 05:50

I gave the link in my first reply to him/her.

penpen

ShadowThief
Expert
Posts: 1166
Joined: 06 Sep 2013 21:28
Location: Virginia, United States

Re: 7 zip command help.

#5 Post by ShadowThief » 23 Apr 2018 20:02

penpen wrote:
23 Apr 2018 05:50
I gave the link in my first reply to him/her.

penpen
:oops:
This guy has been posting so much, spread over so many topics, that I completely missed that.

IcarusLives
Posts: 175
Joined: 17 Jan 2016 23:55

Re: 7 zip command help.

#6 Post by IcarusLives » 23 Apr 2018 20:20

I, at one point, considered breaking everything down for him. Then, after I reread everything, I realized everyone had already given him exactly what he needed, and he neglected to utilize it.

Post Reply