Problem at copying/decompressing

Antworten
Sznefru
Beiträge: 35
Registriert: 11 Jan 2012, 11:59

Problem at copying/decompressing

Beitrag von Sznefru »

Hi,

When I try to send a package, which is compressed (zip) to any client, the uncompressing process don't keep the compressed file structure (directories, subdirs.):

I have a fkincs.zip file. This compressed file includes 2 directories: testdir1 and testdir2 and in the testdir1 folder there is a text1.txt. And when I run the script include this copy command

copy -xs "%ScriptPath%\fkincs.zip" "c:\temporary"

the target directy only includes the text1.txt and the 2 directory is nowhere.

The log:

[5] [2012.02.20. 17:36:12] Execution of Files_copy
[7] [2012.02.20. 17:36:12] copy -xs "P:\full_kincsem\fkincs.zip" "c:\temporary"
[6] [2012.02.20. 17:36:12] Copying P:\full_kincsem\fkincs.zip -----> C:\temporary
[5] [2012.02.20. 17:36:12] 1 File(s) found
[6] [2012.02.20. 17:36:12] Source P:\full_kincsem\fkincs.zip
[6] [2012.02.20. 17:36:12] P:\full_kincsem\fkincs.zip identified as ZIP archive
[6] [2012.02.20. 17:36:12] c:\opsi.org\tmp\decompr\testdir2\ extracted to c:\opsi.org\tmp\decompr\
[6] [2012.02.20. 17:36:12] c:\opsi.org\tmp\decompr\testdir1\text1.txt extracted to c:\opsi.org\tmp\decompr\
[6] [2012.02.20. 17:36:12] c:\opsi.org\tmp\decompr\testdir1\ extracted to c:\opsi.org\tmp\decompr\
[3] [2012.02.20. 17:36:12] Error: copy of c:\opsi.org\tmp\decompr\testdir2\ to C:\temporary\ not possible. CreateFile for reading, File Error No. 3 (A rendszer nem találja a megadott elérési utat.-> the system couldn't locate the path
)
[6] [2012.02.20. 17:36:12] c:\opsi.org\tmp\decompr\testdir1\text1.txt copied to C:\temporary\
[3] [2012.02.20. 17:36:12] Error: copy of c:\opsi.org\tmp\decompr\testdir1\ to C:\temporary\ not possible. CreateFile for reading, File Error No. 3 (A rendszer nem találja a megadott elérési utat.-> the system couldn't locate the path
)
[4] [2012.02.20. 17:36:12] Warning: "Directory c:\opsi.org\tmp\decompr\testdir1" cannot be deleted, error 32 ("A folyamat nem fér hozzá a fájlhoz, mert azt egy másik folyamat használja. -> the file is in use
")
[5] [2012.02.20. 17:36:12] 1 File(s) treated




Thank You!
Antworten