Page 1 of 1

Trying to attach an AS/400 shared folder

Posted: Wed Dec 21, 2005 1:14 pm
by gpbarsky
Hola, mis amigos....

I'm trying to make a "net use m: \\......." for an AS/400 shared folder. This is from within a batch job.

The first time that I run the command, it works fine.

The second time I run the command, the error 85 appears, saying that the network drive is already in use. So, I inserted a "net use m: /d" previous to executing the first net use. But the result was the same.

Does anybody know if there is a special treatment to make in jobs, for handling the AS/400 shared folders ?

Thanks in advance.

Posted: Mon Dec 26, 2005 2:38 pm
by kcbland
Don't know about AS/400 shared folders mattering but any chance m: is already in use? Meaning you can't detach because there's an open user/process in that file system?