|
| |||||||||
| Tags: batch, copy, create, laptops, templates |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Create Batch file for laptops to copy templates
Hi Everyone, I am new to batch file programming and need an expert help to find out something. I want to create a batch file that runs at login and compares a local copy of the templates to what we have on the network. We have templates on a mapped network drive in h:\clients\templates, and on the laptop in c:\apps\data\clients\templates. When the laptop is offline it substitutes c:\apps\data to appear as h: drive, that way the files appear to be in h:\clients\templates. Here’s the basic steps what I need the batch file for: 1. first it checks to see if the computer is on the network 2. if it’s online it copies any newer files from Server onto the local drive 3. if it’s not online it uses the local files and has them show up on the laptop as the same location as the network I really appreciate any help/suggestions.. Thank you in advance, Hemal |
|
#2
| |||
| |||
| Re: Create Batch file for laptops to copy templates
Hello Hemal, As this doesn't has the need for Active directory better use a scripting newsgroup like: microsoft.public.scripting.vbscript microsoft.public.scripting.jscript Or the official scripting guy forum: http://social.technet.microsoft.com/...n/ITCG/threads http://technet.microsoft.com/en-us/s...r/default.aspx Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties, and confers no rights. ** Please do NOT email, only reply to Newsgroups ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm > Hi Everyone, > > I am new to batch file programming and need an expert help to find out > something. I want to create a batch file that runs at login and > compares a local copy of the templates to what we have on the network. > We have templates on a mapped network drive in h:\clients\templates, > and on the laptop in c:\apps\data\clients\templates. When the laptop > is offline it substitutes c:\apps\data to appear as h: drive, that way > the files appear to be in h:\clients\templates. Here's the basic steps > what I need the batch file for: > > 1. first it checks to see if the computer is on the network > 2. if it's online it copies any newer files from Server onto the local > drive > 3. if it's not online it uses the local files and has them show up on > the > laptop as > the same location as the network > I really appreciate any help/suggestions.. > > Thank you in advance, > Hemal |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Create Batch file for laptops to copy templates" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| batch file to copy file to another place | bomblast | Windows Software | 1 | 03-11-2011 01:53 AM |
| Batch file to copy ip | zaharkl | Technology & Internet | 1 | 21-04-2011 11:50 AM |
| Batch File to Move or Copy Files | Pratim | Windows Software | 6 | 21-03-2010 10:32 PM |
| Batch file for laptops to modify proxy settings | Windows Server Help | 4 | 18-05-2009 12:20 PM | |
| Batch file to copy a file from the local drive to a computer on lan? | dudelearn | Tips & Tweaks | 3 | 12-03-2009 01:56 PM |