• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

DOS commands!

Alphathree33

Platinum Member
Does anyone know the command to copy a folder to a: drive?

The folder name is SCHOOL and I'm in the correct directory (i.e. the prompt is C:\MY DOCUMENTS\)

I've tried

copy SCHOOL A:

but that tries to grab a file named "SCHOOL". I want to copy the folder and all of its contents.

ANy thoughts? (BTW, my computer wont boot into windows, seriously corrutped registry windows wont even reinstall so I need to do a low level format but before I do I need to rescue my files with a boot disk, and that's what Im doing right now.)
 
I dont really use dos, im used to unix-based, here is a shot

cd c\
cd /SCHOOL

copy SCHOOL > A:

Dunno, try that 😛
 
if you dont have xcopy avalable do this assuming your in C:\MY DOCUMENTS\

md a:\school
cd school
copy *.* a:\school\

JB

 
maybe go into the school directory and try:

copy *.* A:\


I remember i needed to do this once, and never really figured out how. Im sure someone will come along soon..
 


<< deltree c: >>



I might not know how to copy a folder, but I'm not an idiot.

I've tried everything suggested so far.. except this one of course.. and none of them work.
 
mine didnt work??
weird

ok. follow this step by step exactly:

a:
md school
cd\school
c:
cd\mydocu~1\school\
copy *.* a:


if that dosent work, your doing something wrong

later

JB
 


<< very.

i take it this pc does not have windows on it?


JB
>>




It does, but the windows registry is corrupted to hell. It goes black just after it loads the desktop wallpaper even in safe mode and after running the dos registry checker and dos scandisk. Windows reinstall crashes every time. Therefore I need to do a low level format but I want me files back first!
 


<< It says "file not found -- *.*" ... strange, huh? >>



You sure there are files in that directory??? All of the commands given above are pretty standard, pretty accepted commands to use 'copy' to copy files. And are you using the 'boot to command prompt' option to do all of this?
 


<<

<< It says "file not found -- *.*" ... strange, huh? >>



You sure there are files in that directory??? All of the commands given above are pretty standard, pretty accepted commands to use 'copy' to copy files. And are you using the 'boot to command prompt' option to do all of this?
>>



Using a boot disk. And copy does work but only for one file. md and cd and dir etc. etc., all of those work too. It's just when I try to use xcopy or a *.* argument that it doesnt work.
 


<<

<<

<< It says "file not found -- *.*" ... strange, huh? >>



You sure there are files in that directory??? All of the commands given above are pretty standard, pretty accepted commands to use 'copy' to copy files. And are you using the 'boot to command prompt' option to do all of this?
>>



Using a boot disk. And copy does work but only for one file. md and cd and dir etc. etc., all of those work too. It's just when I try to use xcopy or a *.* argument that it doesnt work.
>>



And no the files are not in that directory there's a bunch of other directors in there each with their own set of files. I want to copy the whole lot of directorys and stuff in /SCHOOL at once
 


<< And no the files are not in that directory there's a bunch of other directors in there each with their own set of files. I want to copy the whole lot of directorys and stuff in /SCHOOL at once >>



Try this (I'm not on a Win9x machine so these are Win2K switches, but I think the /E switch is universal). If the boot disk was made from the flavor of windows that you're using and you mentioned the flavor of windows you're using, I must've missed it.

A:
CD\
C:
CD\MYDOCU~1
XCOPY * A: /E

This *should* dump everything in your mydocuments folder and subfolders onto your A: from root.
 


<< ok
try this:

a:
md school
cd school
c:
cd\mydocu~1\school
xcopy *.* a: /s



that outta do it

later

JB
>>




YOU SIR ARE A GENIUS!!! Thanks to everyone for their help!
 


<< Ugh, it's pathetic that you guys can call your self geeks.
xcopy c:\directory\*.* a:\school /a /e
>>



Hah! Stuck your foot right in your mouth on that one, notgeek! DUH!!!! 😛
 
Back
Top