Hello, i call 7z and get an error in the log :
0m Scan System Error: Nicht implementiert
Syntax in my script is: "C:\Program Files\7-Zip\7z.exe" a -m9 -ad -bb1 -bsp2 -pTESTPASSWORT -sdel -sfx -sns -spf2 -xr!*.tmp -xr!*.7z -y o:\backup\TestArchiv.exe o:\backup\New 2>Archiv.log
"C:\Program Files\7-Zip\7z.exe" a -m9 -ad -bb1 -bsp2 -pTESTPASSWORT -sdel -sfx -sns -spf2 -xr!*.tmp -xr!*.7z -y o:\backup\TestArchiv.exe o:\backup\New 2>Archiv.log
If I test the call direct in a command box I get
`7-Zip 19.00 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21
Scanning the drive: 86 folders, 1066 files, 795652397 bytes (759 MiB) 2 alternate streams, 155 bytes (1 KiB)
Creating archive: o:\backup\TestArchiv.exe`
Archiv.log is created with the three lines from the beginning of the Topic.
I want to archive a directory with about 5 GB to one self extracting archive with ultramode. No .tmp and no .7z in the archive.
What's the reason?
1) -sns is not implemented for 7z archive 2) use -mx9 instead of -m9
-sns
-mx9
-m9
Thanks, work great.
How can I prevent achiving of linked directories? In the Help I didn't found a switch.
-snl
but note that it's not implemented fully for some types.
Thanks, I'll try it
Log in to post a comment.
Hello, i call 7z and get an error in the log :
0m Scan
System Error:
Nicht implementiert
Syntax in my script is:
"C:\Program Files\7-Zip\7z.exe" a -m9 -ad -bb1 -bsp2 -pTESTPASSWORT -sdel -sfx -sns -spf2 -xr!*.tmp -xr!*.7z -y o:\backup\TestArchiv.exe o:\backup\New 2>Archiv.log
If I test the call direct in a command box I get
`7-Zip 19.00 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21
Scanning the drive:
86 folders, 1066 files, 795652397 bytes (759 MiB)
2 alternate streams, 155 bytes (1 KiB)
Creating archive: o:\backup\TestArchiv.exe`
Archiv.log is created with the three lines from the beginning of the Topic.
I want to archive a directory with about 5 GB to one self extracting archive with ultramode. No .tmp and no .7z in the archive.
What's the reason?
1)
-sns
is not implemented for 7z archive2) use
-mx9
instead of-m9
Thanks, work great.
How can I prevent achiving of linked directories? In the Help I didn't found a switch.
but note that it's not implemented fully for some types.
Thanks, I'll try it