This is the mail archive of the
cygwin
mailing list for the Cygwin project.
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, <http://cygwin.com/acronyms/#PCYMTNQREAIYR>? ;-)
> > 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'
HTH,
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,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: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/