Forum Discussion
syedsafvan
15 years agoContributor
Hello Matt
I tried to recreate the scenario with
Sub Test
Result = aqFileSystem.CopyFile("D:\Sand Pit\trial.txt", "D:\", False)
Result = aqFileSystem.CopyFile("D:\NonexistingFolder\trial.txt", "D:\", False)
Result = aqFileSystem.CopyFile("junk", "D:\", False)
End Sub
All the time I received correct results - True, False and False.
May be you need to provide some more info about what you are trying to do and a part of the script. Also I suspect if the msgbox is being displayed by TC or the OS.
Thankyou
Syed
www.proteans.com
I tried to recreate the scenario with
Sub Test
Result = aqFileSystem.CopyFile("D:\Sand Pit\trial.txt", "D:\", False)
Result = aqFileSystem.CopyFile("D:\NonexistingFolder\trial.txt", "D:\", False)
Result = aqFileSystem.CopyFile("junk", "D:\", False)
End Sub
All the time I received correct results - True, False and False.
May be you need to provide some more info about what you are trying to do and a part of the script. Also I suspect if the msgbox is being displayed by TC or the OS.
Thankyou
Syed
www.proteans.com
Related Content
- 13 years ago
- 3 years ago
Recent Discussions
- 3 days ago
- 4 days ago