View Full Version : Pls. Help with ZIP Extract + File Run + Del. Temp

08-11-2008, 02:12 AM
-- The temp directory (in this case we are using the built in variable
-- _TempFolder, however you can choose whatever directory you like)
sTempDirectory = _TempFolder .. "\\";

-- Extract to the temp directory- test.dat is the zip change to .dat and pass = pass
Zip.Extract("AutoPlay\\Docs\\test.dat", {sFile}, sTempDirectory, false, false, "pass", 0, nil);

File.Run("I_file", sTempDirectory .. sFile);

-- Delete the image from the temp directory
File.Delete(sTempDirectory .. sFile, false, false, false, nil);


Wat is the correct code???