Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: n3Map n3maproot n3MapDir
Here's my code:
DirChange("C:") n3MapDelete("J:") n3Map(OldJ,"J:") ;This Works ;n3MapDir(OldJ,"J:") ;This does not! ;n3MapDelete("K:") ;n3MapDir("%OldK%","K:") n3MapDelete("F:") n3MapRoot("%TempServ%","F:") DirChange("F:%TempPath%") ;n3MapDelete("J:") n3Detach(MyServer) :CANCEL %ONCANCEL% if n3GetMapped(MyServer)=="" then n3Detach(MyServer) EXIT
n3MapDir(OldJ,"J:\")The n3MapDir needs a directory (OR A SHARE) to map to. The \ should make it happy.
n3MapDir maps you so you can see all the nested directories underneath a directory. Use this to map to a SHARED DIRECTORY, for example, rather than to the root of your server.
Use n3Map to map to the root of your server.
If you're having a problem with the n3map causing a root mapping rather than dynamic mapping in Windows 3.1:
This occurs in approximately 1% of our users, and we don't exactly know why. The n3map is supposed to do a dynamic mapping, while the user is getting a root mapping instead.
The solution is to map to a directory a level above, and then use DirChange to change to the desired directory.
Article ID: W13614
Filename: n3map and Mapping to Root.txt
File Created: 1999:04:15:16:55:12
Last Updated: 1999:04:15:16:55:12