NET USE to map network drive

Discuss RoboTask here
Post Reply
cmarkley
Posts: 1
Joined: Thu Sep 29, 2011 5:19 pm
Location: United States
Contact:

NET USE to map network drive

Post 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!
Oleg
Site Admin
Posts: 3010
Joined: Thu Jan 01, 1970 1:00 am
Contact:

NET USE to map network drive

Post 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.
pwildman
Posts: 5
Joined: Fri Feb 25, 2022 3:34 am

Re: NET USE to map network drive

Post by pwildman »

Oleg, you say 'Read more here please' however, there is no link associated.
Oleg
Site Admin
Posts: 3010
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: NET USE to map network drive

Post 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
Oleg Yershov
Post Reply