A
Andrew Edwards
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
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