n3DrivePath and Mapping to Root
Keywords: n3drivepath
Question:
I map a drive in the System Login Script (NET$LOG.DAT) as follows:MAP Q:=SYS:\PUBLICWhen I execute the n3DrivePath() function, it only returns the \\SERVER\VOLUME\ (as follows) (and not the nested directory):\\TEST_SERVER\SYS\Can you provide some assistance in this matter?Answer:
MAP Q:=SYS:\PUBLICThis is really:MAP Q:=SYS: CD Q:\PUBLICIt's mapped at the highest possible level, and then does a DirChange down to the lower level.If you do a MAPROOT then I think you will get what you are expecting. This return the directory.
Article ID: W13613Filename: n3DrivePath and Mapping to Root.txt