Page 1 of 1

NET USE to map network drive

Posted: Mon Oct 03, 2011 9:56 pm
by cmarkley
I have a task built that copies a file, renames it and then uploads it via FTP. Everything is working great but I need first connect to this Windows server using the NET USE command. This server is in a workgroup and not on our domain. I am running RT as a service. I've looked through all the sample tasks and other posts in the forum but haven't found anything that is relevant to my situation. I could put these commands in a batch file but I don't know how to call an external batch file from RT and honestly, would prefer to keep everything w/in RT and not have to call anything exernally.Any help would be great! All servers involved are Windows 2003THX!

NET USE to map network drive

Posted: Tue Oct 04, 2011 4:51 am
by Oleg
Any network resources is inaccessible by default in system service mode.
You should specify authentication parameters of some user in service mode. Read more here please.

Also I recommend to use UNC names. In this case you don't need to map network drive at all. See more information here, please.

Re: NET USE to map network drive

Posted: Sun Mar 13, 2022 5:19 pm
by pwildman
Oleg, you say 'Read more here please' however, there is no link associated.

Re: NET USE to map network drive

Posted: Wed Mar 16, 2022 1:40 pm
by Oleg
pwildman wrote: Sun Mar 13, 2022 5:19 pm Oleg, you say 'Read more here please' however, there is no link associated.
corrected. Read here: https://robotask.com/help/index.html?se ... cation.htm