Hi,
Check the file existance,
System.IO.File::Exists(fileName)
Copy the file A to B
System.IO.File::Copy(fileName, FileB);
Delete the file
System.IO.File::Delete(fileName);
Get only file name from the path URL.
System.IO.Path::GetFileName(fileName);
System.IO.Path::GetFileNameWithoutExtension();
System.IO.Path::GetExtension(fileName);
Regards,
Check the file existance,
System.IO.File::Exists(fileName)
Copy the file A to B
System.IO.File::Copy(fileName, FileB);
Delete the file
System.IO.File::Delete(fileName);
Get only file name from the path URL.
System.IO.Path::GetFileName(fileName);
System.IO.Path::GetFileNameWithoutExtension();
System.IO.Path::GetExtension(fileName);
Regards,
No comments:
Post a Comment