Go Back   Cyber Tech Help Support Forums > Operating Systems > Older Windows Versions > Windows XP

Notices

Windows XP Problem solving for the Windows XP Operating System

Reply
 
Topic Tools
  #1  
Old April 1st, 2010, 03:26 AM
rocky6's Avatar
rocky6 rocky6 is offline
New Member
 
Join Date: Mar 2010
O/S: Windows XP Pro
Location: Australia
Posts: 8
Batch File

Hello, I have really tried on this and I still dont think I have it, if someone could roughly tell me where I am going wrong I would be so thankful...

This is the requirements: A batch file that...
• It will backup all contents of a folder called 'myFiles' to a folder called 'myFilesBackup'.
• If 'myFilesBackup' doesn't exist, the batch file should create it.
• If 'myFilesBackup' is empty the batch file should copy all files including subdirectories.
• If 'myFilesBackup' is not empty it should copy only newer files, without prompting.
• Don't use absolute paths, only relative folder names.
• You will need to use command line Help to find the best command to use and what parameters to use. The Copy command won't work; you will need a command that does eXtra.

MY ANSWER:
REM stuff here.........
xcopy C:\myFiles C:\myFilesBackup /E /Y

Am I on the right track?
Cheers
Reply With Quote
Reply

Bookmarks

Topic Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Topic Topic Starter Forum Replies Last Post
Batch File to change file associations Comprox Windows XP 0 April 4th, 2009 07:48 PM
Copy file to another computer - batch file (Moved from Vista) canastahotel Applications 1 February 18th, 2008 10:23 AM
batch file philmetz Windows XP 13 December 8th, 2006 05:17 AM
Help plz with batch file cmd... Ghio Windows NT, 2000, 2003, 2008, 2012 5 October 30th, 2001 10:31 PM


All times are GMT +1. The time now is 02:08 PM.