Windows: network drives and running APL as administrator

APL-related discussions - a stream of APL consciousness.
Not sure where to start a discussion ? Here's the place to be
Forum rules
This forum is for discussing APL-related issues. If you think that the subject is off-topic, then the Chat forum is probably a better place for your thoughts !

Windows: network drives and running APL as administrator

Postby AndyS|Dyalog on Fri Nov 16, 2012 11:40 am

One of those little security features of Windows which makes your life more, umm, interesting ..

If you have a network drive mapped, and then you run a process with administrator privileges, that process will not see the mapped drive - you will need to redo the drive mapping.

To do this in Dyalog APL:

      ⎕cmd'net use u: \\devt\devt' ''

That second, empty, argument is critical - without it the username and password prompt will not be visible, and you will have just caused your APL process to hang.
User avatar
AndyS|Dyalog
 
Posts: 257
Joined: Tue May 12, 2009 6:06 pm

Return to APL Chat

Who is online

Users browsing this forum: No registered users and 1 guest