S
spowel4
I'm new to Visual Basic, so I apologize for basic questions.
Here's the code I've got so far, which works as long as the
destination file doesn't already exist:
If My.Computer.FileSystem.FileExists("c:\test.cd") Then
My.Computer.FileSystem.MoveFile("c:\test.cd", "c:
\test.bak")
How do I get it to overwrite the test.bak file if if already exists?
Presently I'm getting an IO exception error
Here's the code I've got so far, which works as long as the
destination file doesn't already exist:
If My.Computer.FileSystem.FileExists("c:\test.cd") Then
My.Computer.FileSystem.MoveFile("c:\test.cd", "c:
\test.bak")
How do I get it to overwrite the test.bak file if if already exists?
Presently I'm getting an IO exception error