[dba-Tech] DOS help

Erwin Craps - IT Helps Erwin.Craps at ithelps.be
Sat Jan 8 16:17:45 CST 2005


 I believe that d$ is only accesible with an administrator account...
If you will run the script from a users pc with a regular user loggod on
that will fail...

You will need to share that folder and give user access rights.

Erwin



-----Original Message-----
From: dba-tech-bounces at databaseadvisors.com
[mailto:dba-tech-bounces at databaseadvisors.com] On Behalf Of Jon Tydda
Sent: Friday, January 07, 2005 3:10 PM
To: 'Discussion of Hardware and Software issues'
Subject: RE: [dba-Tech] DOS help

Thanks Gustav, that's solved it.


Jon

-----Original Message-----
From: Gustav Brock [mailto:Gustav at cactus.dk]
Sent: 07 January 2005 10:51
To: dba-tech at databaseadvisors.com
Subject: Re: [dba-Tech] DOS help


Hi Jon

How about adding some quotes:

copy "\\alcaislg1\d$\deploy\_AIS32.lnk" "C:\Documents and Settings\All
Users\Desktop"

/gustav

>>> Jon.Tydda at alcontrol.co.uk 07-01-2005 11:29:44 >>>
Hi all
 
got a small problem with a batch file I'm trying to write to automate an
installation procedure. The problem is I haven't used DOS actively for
about 10 years and can't remember a whole lot.
 
I'm trying to copy a file from one location to another, and the
following line isn't working:
 
copy \\alcaislg1\d$\deploy\_AIS32.lnk
<file://\\alcaislg1\d$\deploy\_AIS32.lnk>  C:\Documents and Settings\All
Users\Desktop\*.*
 
Does anyone have any suggestions?

_______________________________________________
dba-Tech mailing list
dba-Tech at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-tech
Website: http://www.databaseadvisors.com


The information in this e-mail is confidential and may also be legally
privileged. The contents are intended for recipient only and are subject
to the legal notice available on request from :
webmaster at alcontrol.co.uk ALcontrol Laboratories is a trading division
of ALcontrol UK Limited.
Registered Office: Templeborough House, Mill Close, Rotherham, S60 1BZ.
Registered in England and Wales No 4057291
_______________________________________________
dba-Tech mailing list
dba-Tech at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-tech
Website: http://www.databaseadvisors.com



More information about the dba-Tech mailing list