August 23, 200521 yr Can anyone explain me how to use this code7za.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.7zso how do get rid of the batch file.maybe these is a special switch.tnx
August 23, 200521 yr Put that batchfile in a directory somewhere in the path (like \system32) and just call it from the folder you want compressed.
August 23, 200521 yr Author 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?
August 23, 200521 yr 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}
August 23, 200521 yr Author 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
August 23, 200521 yr Yes.This was ,eamt to appear to be a command prompt "D:\somefolder>7zcompress.cmd{enter}"
August 23, 200521 yr Author Yes.This was ,eamt to appear to be a command prompt "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.....???? sorry for the questions, but i'm aren't getting it
August 23, 200521 yr system32 is defined in the %path% variabletype "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.
August 23, 200521 yr Author system32 is defined in the %path% variabletype "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 nowthank yu wery much Edited August 23, 200521 yr by maniaq
August 23, 200521 yr Author now i need to get that right click for running cmd windowsthank yu wery much again everything works great now Edited August 23, 200521 yr by maniaq
Create an account or sign in to comment