If 7z a works with error, try some simple commands instead.
Windows Ce doesn't have RAM required for default 7z.
And you must specify absolute paths for files.
7z i
7z b
7z b -md18
7z b -mm=*
7z l \a.7z
7z t \a.7z
7z t \a.tar
7z a \a.7z \1.txt -mx1
7z a \a.tar \1.txt
7zg.exe and 7z.exe use same commands.
Try also CPP\7zip\Bundles\Fm\
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I run 7za command line in wince, but show error message, but in windows, the following command is no problem, does some guys can help me ?
Command Line Error:
Unsupported command:
harddisk\afcagm\a.log.tar
\HARDDISK\AFCAGM\7Z> 7za/?
Cannot execute 7za/?.exe.
\HARDDISK\AFCAGM\7Z> 7za a -y -bso0 -ttar \harddisk\afcagm\a.log.tar \harddisk\a
fcagm\a.log
Command Line Error:
Unsupported command:
\harddisk\afcagm\a.log.tar
\HARDDISK\AFCAGM\7Z>
I didn't test 7za.exe at wince. So probably there is BUG here.
But 7zg probably must work.
And try to fix the code:
CPP\7zip\UI\Console\Main.cpp
please 7zG is command line, I need command line only, thx.
And does 7zG.exe need any dll ?
After I modify main.cpp, and some good but finally error.
\HARDDISK\AFCAGM\7Z> 7z a File.7z *.log -r
7-Zip [32] 16.04 : Copyright (c) 1999-2016 Igor Pavlov : 2016-10-04
Scanning the drive:
57 files, 17097595 bytes (17 MiB)
Creating archive: File.7z
Items to compress: 57
ERROR: Can't allocate required memory!
And if I run 7zG.exe in Wince, show error window. (Show: Specify command )
Thank you, Now I use 7z.exe is OK, so thank you very much.
If any problem, I will ask you for help again.
Thank you thank you thank you.
If
7z a
works with error, try some simple commands instead.Windows Ce doesn't have RAM required for default 7z.
And you must specify absolute paths for files.
7zg.exe and 7z.exe use same commands.
Try also CPP\7zip\Bundles\Fm\
Hi, If I want to use 7zG but with only command line ? any solution ? how to modify source code ?
7zg.exe uses same commands:
And there is additional switch "-ad" that shows dialog box.