While trying to copy a file from one of our network servers to a drive on the SUT, mapped to a drive on my testing machine(both XP SP3), I found the following anomaly:
I created a script ‘CopyFile’ which takes two arguments ‘Source’ and ‘Destination’ which is supposed to copy a file. However, when I run it the main script fails, telling me the file does not exist, without entering the ‘CopyFile’ script.
When I change the script name to ‘CopySomeFile’ with the same arguments, lo and behold everything functions as I expected. The file exists and is copied to where I want it.
I checked the documentation and ‘CopyFile’ is not a reserved word as far as I can tell.
I guess the question is: Did I do something wrong or is this something that I will continue to run into?