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 freeze game hard drive internet internet explorer itunes laptop linux malware monitor network networking nvidia outlook outlook 2003 outlook express password printer problem router slow software sound trojan usb virus vista windows windows vista windows xp wireless
DOS/PDA/Other
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Operating Systems > DOS/PDA/Other >
batch file needed


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
onedavester's Avatar
Senior Member with 216 posts.
 
Join Date: Nov 2000
Location: Upstate New York
Experience: Batteries not included
22-Dec-2006, 09:58 AM #1
batch file needed
I need to write a batch file that copies a text flie from a network share to a folder in a computer. This what I tried to no avail:

copy \\network share root\network share folder\file to copy c:\folder to copy file to
JohnWill's Avatar
Computer Specs
Moderator with 78,890 posts.
 
Join Date: Oct 2002
Location: South Eastern PA, USA
Experience: Advanced age & experience
22-Dec-2006, 09:18 PM #2
Make sure you use "" around all the long file names.

copy "\\network share root\network share folder\file to copy" "c:\folder to copy file to"

For instance.

copy "\\bobbi\c\Quicken Backup Files\qdata.qel" c:\temp

that one works.

copy \\bobbi\c\Quicken Backup Files\qdata.qel c:\temp

that one doesn't.
__________________
Microsoft MVP - User Desktop Experience

If you think experts are expensive, wait until you see what amateurs cost you!

Help me out with some details here, I'm brilliant, not clairvoyant!
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 06:53 PM.
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.