View Single Post
Old 08-Mar-2007, 10:16 PM   #2 (permalink)
Anilrgowda
Administrator
 
Anilrgowda's Avatar

Posts: 18,715
Join Date: Jan 2006
Rep Power: 10 Anilrgowda is on a distinguished road

IM:
Default Re: Trying to use the 'RUNAS' command to run an app on a mapped network drive (but ge

When you use RUNAS, you are actually logging on as a different user. It's most likely that rms\rmsuser doesn't have the R: mapped after login. If this is an occasional manual operation, try to RUNAS cmd.exe, then use net use to map the R: drive then run your app from the command line. If you need to do this all the time, create a batch file or VBScript to map the drive the launch the app, and RUNAS the batch or VBScript.
Anilrgowda is offline   Reply With Quote