Access is denied to my "C:" drive in command prompt

  • Thread starter Thread starter leoliver
  • Start date Start date
L

leoliver

Hi Everyone,

When I open my command prompt, it looks like this :

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Lawrence Oliver>

Now when I use the "cd.." command, to go to my "C" drive , I only get this:

C:\Documents and Settings\Lawrence Oliver>cd..

C:\Documents and Settings>

Now when I use this command , "cd>C:" , to get to my "C" drive , I get a
"access is denied"

message:

C:\Documents and Settings\Lawrence Oliver>cd>C:
Access is denied.

C:\Documents and Settings>

What could be causing this ? Software , such as new antivirus software ? Or
do I have a virus ? Or something eles ?

Feed back will be appreciated !
 
leoliver said:
Hi Everyone,

When I open my command prompt, it looks like this :

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Lawrence Oliver>

Now when I use the "cd.." command, to go to my "C" drive , I only get
this:

C:\Documents and Settings\Lawrence Oliver>cd..

C:\Documents and Settings>

Exactly as you should - "cd.." will take you "up a level".
Now when I use this command , "cd>C:" , to get to my "C" drive , I get a
"access is denied"

message:

C:\Documents and Settings\Lawrence Oliver>cd>C:
Access is denied.

C:\Documents and Settings>

Uh-huh; by design. You can't send the output of a "change directory" command
to a drive.
What could be causing this ? Software , such as new antivirus software ?
Or
do I have a virus ? Or something eles ?

No; type "cd /?" to find out how to use the command. If unsure of a
command's usage, always try typing it followed by a space and "/?". Pay
attention, too, to the exact punctuation and use of spaces as it can make a
big difference.

To get from where your command prompt opens to the root of your C:\-drive
(or indeed from anywhere on your C:\-drive to the root), just type

cd c:\
 
Thanks for your reply ! You answered my question .
--
your friend,
Larry


Olórin said:
leoliver said:
Hi Everyone,

When I open my command prompt, it looks like this :

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Lawrence Oliver>

Now when I use the "cd.." command, to go to my "C" drive , I only get
this:

C:\Documents and Settings\Lawrence Oliver>cd..

C:\Documents and Settings>

Exactly as you should - "cd.." will take you "up a level".
Now when I use this command , "cd>C:" , to get to my "C" drive , I get a
"access is denied"

message:

C:\Documents and Settings\Lawrence Oliver>cd>C:
Access is denied.

C:\Documents and Settings>

Uh-huh; by design. You can't send the output of a "change directory" command
to a drive.
What could be causing this ? Software , such as new antivirus software ?
Or
do I have a virus ? Or something eles ?

No; type "cd /?" to find out how to use the command. If unsure of a
command's usage, always try typing it followed by a space and "/?". Pay
attention, too, to the exact punctuation and use of spaces as it can make a
big difference.

To get from where your command prompt opens to the root of your C:\-drive
(or indeed from anywhere on your C:\-drive to the root), just type

cd c:\
 
Back
Top