Message 1 of 2
Application.FileManager.CopyFile or System.IO.File.Copy?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I only see two differences between Application.FileManager.CopyFile or System.IO.File.Copy - am I missing some?
1: System.IO.File.Copy handles any filetype, Application.FileManager.CopyFile handles only Inventor filetypes.
2: Application.FileManager.CopyFile has three different overwrite levels (kOverwriteExistingFile, kOverwriteReadOnlyFile and kOverwriteReservedFile). System.IO.File.Copy only has Overwrite true/false and can not overwrite a ReadOnly protected file.