Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Script Help!!


  • Please log in to reply
7 replies to this topic

#1 Maureennetwork

Maureennetwork

  • Members
  • 4 posts
  • OFFLINE
  •  
  • Local time:04:37 AM

Posted 04 November 2010 - 01:25 PM

Hello,

I have a 2003 R2 server and I have to write my first script for it. I need a script that runs once a week and grabs a folder from another computer and copies it to a folder on the server for back-up purposes. I also need it to overwrite the old file. Can anyone help me with this?

Thanks in advance,

Maureen

Edited by Andrew, 05 November 2010 - 04:16 PM.
Mod Edit: Moved From Windows NT Forum - AA


BC AdBot (Login to Remove)

 


#2 cryptodan

cryptodan

    Bleepin Madman


  • Members
  • 21,868 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Catonsville, Md
  • Local time:10:37 AM

Posted 04 November 2010 - 05:46 PM

Why not utilize some sort of backup software like Veritas?

#3 nitekram

nitekram

  • Members
  • 41 posts
  • OFFLINE
  •  
  • Local time:06:37 AM

Posted 05 November 2010 - 10:23 AM

You can either write a batch file to do this or check out AutoIT.

#4 Maureennetwork

Maureennetwork
  • Topic Starter

  • Members
  • 4 posts
  • OFFLINE
  •  
  • Local time:04:37 AM

Posted 05 November 2010 - 04:04 PM

I want to write a batch file but do not know how to. That is why I am looking for help.

All I want to do is say copy computername\folder to server\folder and have it run on its own weekly.

Edited by Andrew, 05 November 2010 - 04:15 PM.


#5 ThunderZ

ThunderZ

  • Deactivated
  • 4,454 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:05:37 AM

Posted 05 November 2010 - 04:19 PM

Hi Maureennetwork

I requested that your post be moved to where the programing Guru`s reside here at BC. Hopefully you will hear from one shortly. If not I`ll drop them a PM to bring your request to their attention.

#6 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:04:37 AM

Posted 06 November 2010 - 08:25 AM

I tend to like to use VBScript for this sort of thing.
Here is a script for moving files.
Here is a script for copying files.

#7 Digital Crisis

Digital Crisis

  • Members
  • 5 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Houston, TX
  • Local time:04:37 AM

Posted 11 November 2010 - 03:06 PM

To have the script run once a week, have the said script in your scheduled tasks to run once a week or whatever configuration you'd like.

#8 Maureennetwork

Maureennetwork
  • Topic Starter

  • Members
  • 4 posts
  • OFFLINE
  •  
  • Local time:04:37 AM

Posted 16 November 2010 - 01:57 PM

Thank you soo much it was a success!!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users