Hi,
First of all, thanks for your answer !
we are going to take the problem by another way.
I am writting a program which terminate with compressing files in a subfolder I create in a folder the user choose.
I want to be able to let the user choose the program he want to compress : WinZip, WinRar, PowerArchiver, …/…
even I have to adapt my Test.bat.
If, for example, the user choose the folder C:\Dir01\Dir02 to work,
I create a subfolder Dir03,
where I write the Test.bat which call pacomp (with his full path -in the path or not-)
and where I write Test.txt which list the files I need to compress, assuming the root directory is Dir02.
So, Test.txt look like this :
File01.txt
File02.txt
Dir03\File03.txt
WinZip and WinRar works correctly, like I wait they must do
so in the Test.zip I get
Name__________________________________Path
File01.txt____________________________
File02.txt____________________________
File03.txt____________________________Dir03\
PaComp do not work like this, and more :
I reproduce the test you do :
working with Test.txt, Test.bat in the same folder as File01.txt
in the Test.zip I get this :
Name__________________________________Path
File03.txt____________________________Dir03
File01.txt____________________________Dir01\Dir02
File02.txt____________________________Dir01\Dir02\
and of course, when I unzip Test.zip, it create a folder Dir03 and a folder Dir01 with a subfolder Dir02
so I thing there is a bug in the command -p.
May be I do not use PaComp like it should be use, but I know exactly what I want to do
and I do not find the way PaComp can do it.
If you have a suggestion you are welcome.
Or may be review the -p command…