When the startup form is opened, I have code that checks to see if a file exists. If it does not, then it will be copied to the local computer. Problem is, the path contains a space. How do I account for this? When I change source to one without a space, it works fine. I do not have control of the path name, so having it changed is not an option
SAMPLE CODE:
SAMPLE CODE:
Code:
sDestination = "C:\TESTDB\"
sSource = "\\testdb\misc\prod test\Restore"
FileCopy sSource & sFile1, sDestination & sFile1