I can't seem to get mapped drive operations to work from batch pgms on WinXP called using runrmtcmd. For instance, I have a .bat file that does a "dir c:". This works if I run the batch file from a command window on XP and it also works if I invoke it using runrmtcmd from an iSeries session or CL program. Now if I change the batch file to do "dir x:" where x is a shared folder on another PC or on the IFS, I get the error "The system cannot find the drive specified". I tried forcing a drive mapping in the batch file before the dir but then I get "System error 1312. A specified logon session does not exist ".
I'm sure it's an XP permissions issue because this works just fine under Win98.
Are there any Windows gurus out there that can help illuminate this issue for me?
August 2, 2006 10:25 PM
November 24, 2010 12:21 AM