Solved

Admin

Posted on 2013-02-05
1
207 Views
Last Modified: 2013-03-11
Hi There,

looking for a script that will copy multiple files to multiple PCs on a network and overwrite if necessary. we need it to copy from a shared drive to a specific folder. and have line for the admin username and pass so it wont denied permissions.

Please Help.

Thanks
0
Comment
Question by:visionsupport
1 Comment
 
LVL 16

Accepted Solution

by:
choward16980 earned 500 total points
ID: 38856893
Sounds like you need to investigate the RUNAS command as well as using:
echo y | copy "\\share\files\*.*" "%userprofile\appdata\microsoft"
to supress prompting for overwriting.  I think you can also use /y

If you'd like to provide more information like the server\share name and the specific folder, I could make something pretty easy.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
Viewers will learn the different options available in the Backstage view in Excel 2013.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now