Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: error 11 zUnZipFiles
This line of code returns error 11 caution: file name not matched: f00 = zunzipfiles('', zipFile, 'RifTest.txt', '', TempDir) this gets the same error
f00 = zunzipfiles('',zipFile, '0ser\Projects\WinBatch\RifTest\RifTest.txt', '', TempDir)but this works
f00 = zunzipfiles('', zipFile, '*.txt', '', TempDir)Even tho I'm getting the files names from the archive before requesting the extraction I tried using the 'C' ignore case option but get the same results.
Any help with this would be much appreciated.
With zZipFiles this code works just fine:
f00 = zZipFiles('', zipFile, "0ser\Projects\WinBatch\RifTest\RifTest2.txt", '')but with zUnZipFiles, it doesn't like the backslashes. So I did the following and it resolved the error:
F00eyFile = strreplace('0ser\Projects\WinBatch\RifTest\RifTest.txt', '\', '/') f00 = zunzipfiles('', zipFile, F00eyFile, '', TempDir)Works! No more error #11.
Article ID: W14816
File Created: 2017:07:28:12:58:56
Last Updated: 2001:11:08:11:40:08