There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer black screen boot bsod computer connection crash css dell drive driver drivers email error ethernet excel explorer firefox firefox 3 game hard drive internet internet explorer itunes laptop lcd linux malware monitor network networking outlook outlook 2003 outlook express printer problem problems ram router slow sound sprtcmd.exe startup trojan usb virus vista windows windows xp wireless
DOS/PDA/Other
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Operating Systems > DOS/PDA/Other >
dos batch file help


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
tyrodos's Avatar
Junior Member with 2 posts.
 
Join Date: Jan 2006
Location: toowoomba
Experience: Beginner
26-Jan-2006, 07:17 PM #1
dos batch file help
Can anyone tell me how to create a simple batch file ( step by step would be good ) to copy all of my microsoft word documents from the My Documents folder on my C Drive to a backup folder on my A drive. please note I am an absolute beginner when it comes to batch files. Thankyou.
Squashman's Avatar
Distinguished Member with 12,698 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
26-Jan-2006, 08:13 PM #2
You do realize that a floppy is only 1.4 megabytes. Do you think that all the files will fit on a floppy?

It is very easy to do.
Just open up a cmd prompt and change directory to your My Documents folder.
Then just use the copy command.

copy *.doc a:\
__________________
I hate asking the same question twice!
How to ask questions the smart way!
Microsoft MVP - Windows Shell/User
tyrodos's Avatar
Junior Member with 2 posts.
 
Join Date: Jan 2006
Location: toowoomba
Experience: Beginner
27-Jan-2006, 12:42 AM #3
Many thanks Squashman.
awalker0878's Avatar
Removed by request with 411 posts.
 
Join Date: Dec 2005
12-Feb-2006, 10:37 PM #4
I created I batch file for you

code:
@ECHO off
ECHO.
ECHO Copying My Documents......
xcopy /S "%userprofile%\My Documents\*.doc" A:\
Attached Files
File Type: zip copydocs.zip (201 Bytes, 37 views)
DosItHelp's Avatar
Junior Member with 1 posts.
 
Join Date: Mar 2006
Experience: Einstein
02-Mar-2006, 12:27 AM #5
Look here for step by step instructions on how to create a DOS batch file:
http://dostips.cmdtips.com/DtTutoFirstBatch.php
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 04:59 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.