G
Guest
Is there a way to create a path name so that it does not have to change when
referencing a file locally? I'm using UNC names to avoid the problems with
drive relative names but I have to change the path name to reference the file
locally. E.g.
\\G4\CognosDev\Logs\log file.txt - network reference
C:\CognosDev\Logs\log file.txt - local reference
I've tried using the . file name to refer to the current directory without
success. I'd like to use a common path name that will point to either a local
drive or the network drive depending on where the file is referenced. Is this
possible?
Thanks,
Tom
referencing a file locally? I'm using UNC names to avoid the problems with
drive relative names but I have to change the path name to reference the file
locally. E.g.
\\G4\CognosDev\Logs\log file.txt - network reference
C:\CognosDev\Logs\log file.txt - local reference
I've tried using the . file name to refer to the current directory without
success. I'd like to use a common path name that will point to either a local
drive or the network drive depending on where the file is referenced. Is this
possible?
Thanks,
Tom