This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cron and copying files across drives: how?

On Mon, 4 Oct 2004, Corinna Vinschen wrote:

> On Oct  4 12:04, Eric_Zeller@XXXX.XXX wrote:

Ahem, <>? ;-)

> > I thought I could bypass the system account not allowed to log into remote
> > drive by providing username and password to "net use".
> > but that didn't work.
> Note that you *must* use the "domain\username" syntax when calling
> net use in this scenario.  If you're not in a domain, then replace
> "domain" by the name of the share server, e.g.:
>   $ net use \\server\share mypasswd /user:server\myusername
> Corinna

Using proper quoting, of course, as in

$ net use '\\server\share' 'mypasswd' /user:'server\myusername'

      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]