Topic awaiting preservation: Need help with 7-Zip command line (Page 1 of 1) |
|
---|---|
Neurotic (0) Inmate Newly admitted From: |
posted 02-24-2010 22:52
Hi, guys. I'm new to this forum. I have a question. Is it possible to make batch file search for specified archive and 7za.exe paths on the computer so when it does find the paths, write them to temporary .txt file, then insert the archive path directly to 7-Zip command line for extraction (so it would know from where to extract from). And then insert 7za.exe path (so it would know where extract to)? |
Maniac (V) Inmate From: there...no..there..... |
posted 02-25-2010 03:00
quote:
code: 7z a -t7z -m0=lzma -mx=9 -mfb=64 -ms=on mybackup.7z @filelist
code: "C:\mydirectory"
|
Obsessive-Compulsive (I) Inmate From: |
posted 02-25-2010 10:22
Thank you for your reply, CPrompt Unfortunately I get an error, maybe I did something wrong. Have a look |
Maniac (V) Inmate From: there...no..there..... |
posted 02-25-2010 14:20
so you are trying to extract the archive "basecontent" right? That's what the "x" switch does. code: 7z x basecontent.7z -oc:\mydirectory
|
Obsessive-Compulsive (I) Inmate From: |
posted 02-25-2010 16:03
Is there a switch that would allow to point the path to the archive? |
Maniac (V) Mad Scientist with Finglongers From: Germany |
posted 02-25-2010 18:23
that's because you need to place the path in quotes ( |
Nervous Wreck (II) Inmate From: |
posted 02-25-2010 20:32
quote:
|
Neurotic (0) Inmate Newly admitted From: |
posted 07-07-2010 14:25
Hello, |
Obsessive-Compulsive (I) Inmate From: |
posted 09-22-2010 06:57
I satisfy myself by wasting their time as much as possible, encouraging further communication while deliberately (but slyly) insulting them as much as possible. |
Nervous Wreck (II) Inmate From: |
posted 09-22-2010 07:01
SO to celebrate I'm using a conker to start us off, I hope that's ok with you? I have not compressed the image at all or saved it as a PSD, you can find it here as a jpeg. I usually save my images as a PSD, RaR or ZIP them up. Do you have any preferences in format at all? |