-
I am SORRY! I misread your response. Have now changed it so it works in C:\ and that solved the problem.
Here is the new batch file :-
@ECHO OFF
CD /D C:\
START /WAIT /B \"Program Files"\7-Zip\7z u -tzip Data\Notebook.zip @Data\C-incl.txt
IF ERRORLEVEL 1 ECHO ***** ERROR %ERRORLEVEL% ***** & PAUSE
Thank you very much for the help!
Max.
2009-11-04 12:33:23 UTC in 7-Zip
-
Thank you very much for the response. I have already done both -- here is the batch file I used :-
@ECHO OFF
CD /D C:\Data\
START /WAIT /B \"Program Files"\7-Zip\7z u -tzip Notebook.zip -r @C-incl.txt
IF ERRORLEVEL 1 ECHO ***** ERROR %ERRORLEVEL% ***** & PAUSE
and here is a sample from C-incl.txt :-
\Documents and Settings\All Users\Start Menu\\*
\Documents...
2009-11-04 12:02:44 UTC in 7-Zip
-
I'm using 7zip 4.57 on XP and use the command-line version with:
7z a -tzip Notebook.zip -r @C-incl.txt
The list file contains both folder and file names; the directories are archived correctly with their subdirectories, but single files simply end up in the 'root' of the archive, so their path names are lost and they cannot be extracted back to their original locations.
How do I get 7z...
2009-11-02 15:22:31 UTC in 7-Zip