Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


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:\PUBLIC
When 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:\PUBLIC
This is really:
	MAP Q:=SYS:
		CD Q:\PUBLIC
It'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:   W13613
Filename:   n3DrivePath and Mapping to Root.txt