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

Really easy .bat help


  • Please log in to reply
1 reply to this topic

#1 Surma

Surma

  • Members
  • 140 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Sweden
  • Local time:09:02 PM

Posted 24 April 2010 - 04:04 AM

I want to create a batch script that when run automatically copies the contents of certain folders into another, overwriting previous files. I know you could use something like for *.* but im not exactly sure how to do it. Could i get some help with this?
---My computer---
Manufacturer:HP Pavilion 061 CPU:Intel Pentium 4 640, 3200 MHz (16 x 200) RAM: 1024MB Motherboard:Asus PTGD1-LA Chipset:Intel Grantsdale i915P HDD:Main256GB Ext512GB Video:Radeon X600 Series Internet:DSL 2mb/s OS:Windows XP Home Edition SP3 Firefox+IExplorer AVG Internet Security

BC AdBot (Login to Remove)

 


#2 Romeo29

Romeo29

    Learning To Bleep


  • Members
  • 3,194 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Location:127.0.0.1
  • Local time:02:02 PM

Posted 24 April 2010 - 05:43 PM

Is this what you want ?
copy /y c:\source_folder\*.* c:\destination_folder

Edited by Romeo29, 24 April 2010 - 05:46 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users