WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Attach and Map

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

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
File Created: 1999:04:15:16:55:12
Last Updated: 1999:04:15:16:55:12