Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , ,

Sponsored Links



Create Batch file for laptops to copy templates

Active Directory


Reply
 
Thread Tools Search this Thread
  #1  
Old 03-03-2010
Hemal
 
Posts: n/a
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
Reply With Quote
  #2  
Old 03-03-2010
Meinolf Weber [MVP-DS]
 
Posts: n/a
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



Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory


Thread Tools Search this Thread
Search this Thread:

Advanced Search


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


All times are GMT +5.5. The time now is 11:38 PM.