Using Shell to copy files

xavier.bury at clearstream.com xavier.bury at clearstream.com
Thu Apr 12 04:25:03 EDT 2007


Hi

If you are not a domain or authentified user, you can always map to the 
ipc$ of the server you dont 
have access too.

net use \\myserver\ipc$ /user:myserver\userid mypassword

Then the UNC paths shouldn't pose any more problems for any copy program.

I would rather use a shell copy than a vbs. The reporting is better, the 
copy is faster and there's more
options than you can imagine. www.xxcopy.com for example has more 
documentation than rev ;) Just kidding!

cheers
Xavier


use-revolution-bounces at lists.runrev.com wrote on 12/04/2007 10:15:03:

> Thanks roger ... The vbScripts are the way forward!
> Cheers
> Nic
> ----- Original Message ----- 
> From: <Roger.E.Eller at sealedair.com>
> To: "How to use Revolution" <use-revolution at lists.runrev.com>
> Sent: Wednesday, April 04, 2007 3:25 PM
> Subject: Re: Using Shell to copy files
> 
> 
> > On 04/04/2007 at 09:04 AM, "Nic Prioleau" <nickp at didata.bw> wrote:
> >> Ok, I have found the problem but not the solution... Perhaps you may 
have
> > an
> >> idea...
> >>
> >> The server from which I am copying is asking for a username & 
password to
> >
> >> gain access. Is there a way to pass the username and password?
> >>
> >> Thanks again...
> >> Nic
> >
> > I have encountered similar situations. What I do (since I don't know 
how 
> > to
> > pass authentication inside a UNC path) is run a VBscript via shell 
when 
> > the
> > application starts. This VBscript will map the network share to a 
drive
> > letter. Once that is done, you can either access the remote server by 
> > drive
> > letter or UNC path designation. Such VBscripts are easily found in a 
> > google
> > search.
> >
> > Roger Eller <roger.e.eller at sealedair.com>
> >
> > _______________________________________________
> > use-revolution mailing list
> > use-revolution at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your 
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-revolution
> > 
> 
> 
> 
#####################################################################################
> This e-mail message has been scanned for Viruses and Content and cleared 

> by MailMarshal
> 
#####################################################################################
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution



----------------------------------------------------------------------------
Clearstream Services S.A.
42 Avenue JF Kennedy, L-1855 Luxembourg
Société anonyme is organised with limited liability
in the Grand Duchy of Luxembourg RC Luxembourg B 60911.


-----------------------------------------
Visit us at http://www.clearstream.com

IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents
of this message.

The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you
are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. Any views expressed in
this e-mail are those of the individual sender, except where the
sender specifically states them to be the views of Clearstream
International or of any of its affiliates or subsidiaries.

Legally required information for business correspondence/
Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz:
http://deutsche-boerse.com/letterhead

END OF DISCLAIMER



More information about the use-livecode mailing list