Page 1 of 1

Moving and replacing a lot of files.

Posted: Sat Feb 12, 2011 10:35 pm
by Laz0r
hey :D

im creating a program that should download like 400 files "its for a game my mate is making"
and i want it to replace the old files that aleredy is in the folder.

also i would like to know if there is a way to make the program locate the folder, because people may have it in different directorys.


Thanks to anyone that helps :D

Re: Moving and replacing a lot of files.

Posted: Sat Feb 12, 2011 11:00 pm
by GoodGuy17
You could use a Do Until loop, and run it until the last file is downloaded.

Then for your second question, you could use Application.Path (I am pretty sure that is what it is)

Re: Moving and replacing a lot of files.

Posted: Sun Feb 13, 2011 4:31 pm
by mandai
You could use an environment or registry variable that points to where the files should go.