PDA

View Full Version : copying from c prompt


duey
December 5th 03, 01:08 AM
When i try to copy a file from c prompt, i get this
message saying access denied. I am trying to copy a file
from my hard drive to the a drive. Is it not possible,
or am I just doing something wrong?

Rick \Nutcase\ Rogers
December 5th 03, 01:08 AM
Hi Duey,

You don't mention what typr of file it is, however that error message =
generally indicates that a program is still using that file.

--=20
Best of Luck,

Rick Rogers aka "Nutcase" MS-MVP - Win9x - =
http://mvp.support.microsoft.com/
Associate Expert - WinXP - Expert Zone -
www.microsoft.com/windowsxp/expertzone
Win98 Help - www.rickrogers.org

"duey" > wrote in message =
...
> When i try to copy a file from c prompt, i get this=20
> message saying access denied. I am trying to copy a file=20
> from my hard drive to the a drive. Is it not possible,=20
> or am I just doing something wrong?

Ben Williams /526601/
December 5th 03, 01:08 AM
There are many ways to copy in dos.

If you were on your A: drive it would look like this "A:\Copy
C:\windows\win.txt" or from C:\ the command would be "copy
c:\windows\win.txt a:"

you can also try "copy /b" (copy /b c:\windows\win.txt a:) which copies the
file in binary so you can usually copy it if a program is using it. You can
also try "xcopy" (xcopy c:\windows\win.txt a:) which copies pretty much
everything.

Access denied could also mean your disk is write protected (check the little
lever flappy thing) or you have a file with the same name (maybe a system
file) that is read only or protected.


Hope this helps.

--
Ben Williams

"Rick "Nutcase" Rogers" > wrote in message
...
Hi Duey,

You don't mention what typr of file it is, however that error message
generally indicates that a program is still using that file.

--
Best of Luck,

Rick Rogers aka "Nutcase" MS-MVP - Win9x - http://mvp.support.microsoft.com/
Associate Expert - WinXP - Expert Zone -
www.microsoft.com/windowsxp/expertzone
Win98 Help - www.rickrogers.org

"duey" > wrote in message
...
> When i try to copy a file from c prompt, i get this
> message saying access denied. I am trying to copy a file
> from my hard drive to the a drive. Is it not possible,
> or am I just doing something wrong?

Ben Williams /526601/
December 5th 03, 01:08 AM
There are many ways to copy in dos.

If you were on your A: drive it would look like this "A:\Copy
C:\windows\win.txt" or from C:\ the command would be "copy
c:\windows\win.txt a:"

you can also try "copy /b" (copy /b c:\windows\win.txt a:) which copies the
file in binary so you can usually copy it if a program is using it. You can
also try "xcopy" (xcopy c:\windows\win.txt a:) which copies pretty much
everything.

Access denied could also mean your disk is write protected (check the little
lever flappy thing) or you have a file with the same name (maybe a system
file) that is read only or protected.


Hope this helps.

--
Ben Williams

"Rick "Nutcase" Rogers" > wrote in message
...
Hi Duey,

You don't mention what typr of file it is, however that error message
generally indicates that a program is still using that file.

--
Best of Luck,

Rick Rogers aka "Nutcase" MS-MVP - Win9x - http://mvp.support.microsoft.com/
Associate Expert - WinXP - Expert Zone -
www.microsoft.com/windowsxp/expertzone
Win98 Help - www.rickrogers.org

"duey" > wrote in message
...
> When i try to copy a file from c prompt, i get this
> message saying access denied. I am trying to copy a file
> from my hard drive to the a drive. Is it not possible,
> or am I just doing something wrong?

Google