On Sat, 12 Jul 2003 19:19:13 GMT, "Andrew Edwards" <>
wrote:
|I have program that downloads a file from the internet and extracts it using
|calls to system(). All files are extracted into the directory where my
|program is located. How do I redirect the extracted files to a specified
|directory?
|
|I can use the following:
|
| system("move *.* c:\directory");
|
|However, this will move my program. I end up having to call system for every
|file in the directory since most of them are .exe.
|
|Your assistance is greatly appreciated.
|Andrew
|
maybe you could use the lib "Info-Zip" and build in the extract
function into your program, that would give you more control.
http://www.info-zip.org/pub/infozip/
hth
ak
--
g a n d a l f @ p c . n u