BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Copy Files from direcoty to another durectory

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.components.misc
View previous topic :: View next topic  
Author Message
Vitezslav Papiez
Guest





PostPosted: Mon Jan 23, 2006 9:34 pm    Post subject: Copy Files from direcoty to another durectory Reply with quote



Hi all

I have problem. I need to copy all files from the directory to another
directory. I have done function to copy files. I have idea.

for ____ to ____ do
CopyFile(FileIn,FileOut);

but I have no idea how to fill ____ in cyklus.


Back to top
Jamie
Guest





PostPosted: Tue Jan 24, 2006 3:55 am    Post subject: Re: Copy Files from direcoty to another durectory Reply with quote



Vitezslav Papiez wrote:

Quote:
Hi all

I have problem. I need to copy all files from the directory to another
directory. I have done function to copy files. I have idea.

for ____ to ____ do
CopyFile(FileIn,FileOut);

but I have no idea how to fill ____ in cyklus.


use the ShFileOperation API call.

look it up.
use the *.* whild card along with the
full path..


--
Real Programmers Do things like this.
http://webpages.charter.net/jamie_5


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.components.misc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.