Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using a batch file to fill a template folder

Status
Not open for further replies.

terenceb

Programmer
Jun 10, 2003
77
US
Hi,

I am running Win Xp on my workstations. We have a folder on our file server that contains templates for my users. The path would be I:\\server\templates. All of my users have (I:\server\users) mapped, my template folder is in the users directory. I need to create a batch file that can be run from the desktop and update my template folder at c:\program files\microsoft office\templates. My current batch file requires the user to go to MSDOS cd to the I: then execute the template.bat which looks like this.

cd I:\templates
xcopy *.* "c:\program files\microsoft office\templates\*.*" /s

I know there is a better way.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top