»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 11-19-2003, 08:25 AM   #1 (permalink)
Registered User
 
maface's Avatar
 
Join Date: Oct 2001
Location: MA
Posts: 1,154
maface is on a distinguished road
Copying DOS dir

I need to copy files from dos but need the directory info to also copy, Is there a way to do this?

Thanks

maface is offline   Reply With Quote
Old 11-19-2003, 09:00 AM   #2 (permalink)
Registered User
 
Join Date: Oct 2001
Posts: 6,533
John Prophet is on a distinguished road
you mean you want to copy a whole folder?
__________________
"Even a fool is thought to be wise if he is silent"
John Prophet is offline   Reply With Quote
Old 11-19-2003, 09:03 AM   #3 (permalink)
Senior Member
 
J-Excel's Avatar
 
Join Date: Aug 2002
Location: Kzoo, MI
Posts: 820
J-Excel is on a distinguished road
not sure if i understand the question, but have you tried 'xcopy /?' to see if xcopy does what you want?
J-Excel is offline   Reply With Quote
Old 11-19-2003, 09:06 AM   #4 (permalink)
Registered User
 
maface's Avatar
 
Join Date: Oct 2001
Location: MA
Posts: 1,154
maface is on a distinguished road
I don't need to copy the whole folder but the person I am sending the files to wants to know the location that the file resides in. I think I can do it with PKZIP but was wondering if there was a way in DOS to copy the dir info along with the file

Thanks Guys

Last edited by maface; 11-19-2003 at 09:09 AM.
maface is offline   Reply With Quote
Old 11-19-2003, 09:10 AM   #5 (permalink)
Registered User
 
Join Date: Oct 2001
Posts: 6,533
John Prophet is on a distinguished road
I have an mcse folder and a quickbooks folder...so I tried

"xcopy mcse quickb~1" and it just copied the loose files in the mcse folder.

So then I used--------

"xcopy mcse quickb~1 /e /i" and that got the folders within the mcse folder and copied them over.

I dont see a way just yet to actually do the command to where it will bring the whole mcse folder itself over..but I am sure its just a syntax thing
__________________
"Even a fool is thought to be wise if he is silent"
John Prophet is offline   Reply With Quote
Old 11-19-2003, 09:14 AM   #6 (permalink)
Registered User
 
Join Date: Oct 2001
Posts: 6,533
John Prophet is on a distinguished road
ok. Say I just have a folder called mcse with some sub folders etc in it...and I have a folder called quickb~1

To copy the whole mcse folder and its contents you just type the name of the folder in the destination, like this

"xcopy mcse quickb~1\mcse /e /i"

That creates an mcse folder in the quickb~1 folder.


Xcopy rocks!

/e = Copies directories and sub directories, including empty ones.

/i = If destination does not exist and copying more than one file, assumes that destination must be a directory.
__________________
"Even a fool is thought to be wise if he is silent"
John Prophet is offline   Reply With Quote
Old 11-19-2003, 09:31 AM   #7 (permalink)
Registered User
 
duffyone's Avatar
 
Join Date: Oct 2003
Location: Denver, Colorado
Posts: 107
duffyone is on a distinguished road
maybe you might want to try this?

make a new folder with the same name on a different drive or floopy or whatever... copy the files you want to send 'em to that new folder ... go to that folder in explorer, right click and go to "send to:" send it to a zip ...

when he/she unzips it... the files will be in the same folder as yours. Well, maybe not the same folder, but one with the same name as yours.

Oh, and it's dos so make sure the folder name is eight or less characters.. a dos thing you know.

you could do the same thing at the c: prompt... but the outcome is the same

Last edited by duffyone; 11-19-2003 at 09:36 AM.
duffyone is offline   Reply With Quote
Old 11-19-2003, 05:51 PM   #8 (permalink)
Registered User
 
meese's Avatar
 
Join Date: Jun 2003
Location: NJ
Posts: 1,096
meese is on a distinguished road
From DOS the operating system? or do you mean using the command prompt? What directories do you want to copy, were they created by you or DOS system directory?
meese is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 01:20 AM.