|
-
Aug 21st, 2003, 04:49 AM
#2
Hyperactive Member
Be Cool
working with files and folder is more easy for that simply search on google and get no of examples:
well I am giving som esort of help:
using System.IO;
if(Directory.Exists(FileDestination)==false)
{
Directory.CreateDirectory(FileDestination);
}
if(File.Exists(sDestFile)==false)
{
File.Move(sMoveFile,sDestFile);
}
else
{
File.Delete(sDestFile);
File.Move(sMoveFile,sDestFile);
}
Try this ..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|