I'm trying to get the CurDir variable to be a directory on the network (which is actually my documents mapped to '\\SERVER\USER_MYDOCUMENTS')... i know i need to change the drive before i can change the path, but chdrive doesn't like anything but a letter:
chdrive "\\SERVER"
will not work if the current drive is local, like 'C' or 'F'. If the CurDir is already '\\SERVER', then I can change within that directory or out of it to a local drive, but I can't go from local drive to a server directory (hope that makes sense). I'd rather not have my users remap a drive for my documents just so they can just this.
Any help is appreciated.
Thanks,
-n-
chdrive "\\SERVER"
will not work if the current drive is local, like 'C' or 'F'. If the CurDir is already '\\SERVER', then I can change within that directory or out of it to a local drive, but I can't go from local drive to a server directory (hope that makes sense). I'd rather not have my users remap a drive for my documents just so they can just this.
Any help is appreciated.
Thanks,
-n-