PDA

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



manpower
08-11-2008, 03: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);

http://www.indigorose.com/forums/attachment.php?attachmentid=6340&d=1208816113

Wat is the correct code???