copying a file over the network
Posted on 2000-02-24
I have an ap which needs to copy files from a cd rom to a folder on my local hard drive. This works OK on my home PC, but at work on the network I get the error message "Directory does not exist".
I have done some experimenting to isolate the problem, and I have discovered that the error relates to a path with a space in the name - ie. w:\mar31_97\form files. When I leave the "form files" bit out of it there is no error message. Of course I tried formfi~1, but I still get the same error. I also tried to use a UNC path, but that failed too.
We are using NT SERVER 4, so it should be able to recognise long file names, shouldn't it? The copy routine I am using is from fmxutils.pas, and I am using D4 Standard.
Any help would be much appreciated