Subscribe Bookmark RSS Feed

JSL resolve Windows Mapped Network Drive?

djhanson

Community Trekker

Joined:

Jun 23, 2011

Are there any ways that JSL can resolve the full path for a path containing a mapped network drive?

Example:

Full path: \\someserver.mywork.com\folder\somefolder\my.jsl

Mapped network path: X:\somefolder\my.jsl (where X=\\someserver.mywork.com\folder)

I have issues as I use the full path in my JSL...but this can cause other users issues when using the JSL if they have a mapped network drive to the same root path.  JMP naturally gives out "Name Unresolved: rootFolder in access or evaluation of 'rootFolder', rootFolder" error.  Thoughts?  thx... dj

1 REPLY
wmwinn

Community Trekker

Joined:

Jun 23, 2011

You could query the user's registry.  Knowing the drive letter of the mapped network drive "X"

reg query HKCU\Network\X\

Should give you the full path for drive "X"