MSFN Forum: using 7za.exe biggest compession - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

using 7za.exe biggest compession Rate Topic: -----

#1 User is offline   maniaq 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 378
  • Joined: 28-November 04
  • OS:none specified
  • Country: Country Flag

Posted 23 August 2005 - 07:03 AM

Can anyone explain me how to use this code
7za.exe a -r -t7z -m0=BCJ2 -m1=LZMA:d24:fb255:a2:lc7:mf=bt3 -m2=LZMA:d19:fb128:a2:lc0:lp2:mf=bt3 -m3=LZMA:d19:fb128:a2:lc0:lp2:mf=bt3 -mb0:1 -mb0s1:2 -mb0s2:3 file.7z

that there wouldn't included non needed files in the .7z file, for egzample, when i put a batch file with this code into the folder, where i want compress files, the code includes that batch file, also and the 7za.exe file but i have managed to get it out from there, by using this code in the batch file

%systemdrive%\7za.exe a -r -t7z -m0=BCJ2 -m1=LZMA:d24:fb255:a2:lc7:mf=bt3 -m2=LZMA:d19:fb128:a2:lc0:lp2:mf=bt3 -m3=LZMA:d19:fb128:a2:lc0:lp2:mf=bt3 -mb0:1 -mb0s1:2 -mb0s2:3 file.7z


so how do get rid of the batch file.maybe these is a special switch.tnx


#2 User is offline   nakira 

  • Member
  • PipPip
  • Group: Members
  • Posts: 118
  • Joined: 18-July 04

Posted 23 August 2005 - 10:16 AM

Put that batchfile in a directory somewhere in the path (like \system32) and just call it from the folder you want compressed.

#3 User is offline   maniaq 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 378
  • Joined: 28-November 04
  • OS:none specified
  • Country: Country Flag

Posted 23 August 2005 - 10:28 AM

nakira, on Aug 23 2005, 07:16 PM, said:

Put that batchfile in a directory somewhere in the path (like \system32) and just call it from the folder you want compressed.
<{POST_SNAPBACK}>


ok, how do i call it?

#4 User is offline   nakira 

  • Member
  • PipPip
  • Group: Members
  • Posts: 118
  • Joined: 18-July 04

Posted 23 August 2005 - 10:32 AM

Well, suppose you named it "7zcompress.cmd" and placed it into \system32, you would simply type "7zcompress.cmd" from the folder you want to compress.

D:\somefolder>7zcompress.cmd{enter}

#5 User is offline   maniaq 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 378
  • Joined: 28-November 04
  • OS:none specified
  • Country: Country Flag

Posted 23 August 2005 - 10:49 AM

nakira, on Aug 23 2005, 07:32 PM, said:

Well, suppose you named it "7zcompress.cmd" and placed it into \system32, you would simply type "7zcompress.cmd" from the folder you want to compress.

D:\somefolder>7zcompress.cmd{enter}
<{POST_SNAPBACK}>


should i use commnad promt or what, i don't understand :wacko:

#6 User is offline   nakira 

  • Member
  • PipPip
  • Group: Members
  • Posts: 118
  • Joined: 18-July 04

Posted 23 August 2005 - 10:51 AM

Yes.
This was ,eamt to appear to be a command prompt :D "D:\somefolder>7zcompress.cmd{enter}"

#7 User is offline   maniaq 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 378
  • Joined: 28-November 04
  • OS:none specified
  • Country: Country Flag

Posted 23 August 2005 - 01:08 PM

nakira, on Aug 23 2005, 07:51 PM, said:

Yes.
This was ,eamt to appear to be a command prompt :D "D:\somefolder>7zcompress.cmd{enter}"
<{POST_SNAPBACK}>


let me get this right, how it is going to be started over system32, if i'm not pointing it to system32.....???? :wacko:

sorry for the questions, but i'm aren't getting it :no:

#8 User is offline   nakira 

  • Member
  • PipPip
  • Group: Members
  • Posts: 118
  • Joined: 18-July 04

Posted 23 August 2005 - 01:27 PM

system32 is defined in the %path% variable
type "path" in a command prompt and you will see...
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sys...(plus more)..

If a program (or cmd file) isn't in the current directory when you try to execute it, Windows will search all the directories defined in %path% for that program. System32 happens to be the very first entry so Windows finds the cmdfile you placed there and executes it.

#9 User is offline   maniaq 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 378
  • Joined: 28-November 04
  • OS:none specified
  • Country: Country Flag

Posted 23 August 2005 - 01:38 PM

nakira, on Aug 23 2005, 10:27 PM, said:

system32 is defined in the %path% variable
type "path" in a command prompt and you will see...
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sys...(plus more)..

If a program (or cmd file) isn't in the current directory when you try to execute it, Windows will search all the directories defined in %path% for that program. System32 happens to be the very first entry so Windows finds the cmdfile you placed there and executes it.
<{POST_SNAPBACK}>


ohhhh, the light starts to shine for me now
thank yu wery much :lol: :thumbup :P

This post has been edited by maniaq: 23 August 2005 - 01:44 PM


#10 User is offline   maniaq 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 378
  • Joined: 28-November 04
  • OS:none specified
  • Country: Country Flag

Posted 23 August 2005 - 01:44 PM

now i need to get that right click for running cmd windows
thank yu wery much again :thumbup :lol: :P

everything works great now

This post has been edited by maniaq: 23 August 2005 - 01:50 PM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy