C:\>

  • Thread starter Thread starter Nisko
  • Start date Start date
N

Nisko

I want to get at the logs file. When I type cmd and run it as an
administrator, I get the C: etc. prompt. To get to C:\, I type cd ..
twice. But What I get is C:\>. How do I get rid of the > so I can
type in C:\Windows\Logs\CBS\cbs.log?
 
I want to get at the logs file. When I type cmd and run it as an
administrator, I get the C: etc. prompt. To get to C:\, I type cd ..
twice. But What I get is C:\>. How do I get rid of the> so I can
type in C:\Windows\Logs\CBS\cbs.log?
You can't...

Try

cd C:\Windows\Logs\CBS

dir





Guy
 
I want to get at the logs file. When I type cmd and run it as an
administrator, I get the C: etc. prompt. To get to C:\, I type cd ..
twice. But What I get is C:\>. How do I get rid of the> so I can
type in C:\Windows\Logs\CBS\cbs.log?
You can't...

Try

cd C:\Windows\Logs\CBS

dir





Guy
 
Nisko said:
I want to get at the logs file. When I type cmd and run it as an
administrator, I get the C: etc. prompt. To get to C:\, I type cd ..
twice. But What I get is C:\>. How do I get rid of the > so I can
type in C:\Windows\Logs\CBS\cbs.log?

The > just means that it's waiting for you to enter a command. What
you need to do from the C:\> prompt is:

cd Logs\CBS
(you should see C:\Logs\CBS>)
cbs.log
 
The > just means that it's waiting for you to enter a command. What
you need to do from the C:\> prompt is:

cd Logs\CBS
(you should see C:\Logs\CBS>)
cbs.log

OK, but I got a message which says "Access Is Denied"
 
Nisko said:
I want to get at the logs file. When I type cmd and run it as an
administrator, I get the C: etc. prompt. To get to C:\, I type cd ..
twice. But What I get is C:\>. How do I get rid of the > so I can
type in C:\Windows\Logs\CBS\cbs.log?

Run cmd.exe as Administrator.
In the window type
notepad C:\Windows\logs\cbs\cbs.log
Hit return, and wait for a very large file to be loaded!
 
If you are looking for SFC errors type the following

findstr /c:"[SR] Cannot" %windir%\logs\cbs\cbs.log |more
 
You need to take ownership of the file.

Ok, I did that successfully. Now I want to change the file back to the
permissions it used to have. Googling didn't help me. How do I do
that?
 
Run cmd.exe as Administrator.
In the window type
notepad C:\Windows\logs\cbs\cbs.log
Hit return, and wait for a very large file to be loaded!

This is a shortcut to what I asked - but it works for me. Now I have
to figure out how to re-establish the permissions the file used to
have.
 
Nisko said:
This is a shortcut to what I asked - but it works for me. Now I have
to figure out how to re-establish the permissions the file used to
have.

The default permissions for CBS on my machine show three groups or user
names:- SYSTEM, LOCAL SERVICE, Administrators.
Each group has the same permissions, that is, Read, Write, and Special
Permissions.

I assume that you simply added your name to the list of users, but left the
permissions alone.
 
The default permissions for CBS on my machine show three groups or user
names:- SYSTEM, LOCAL SERVICE, Administrators.
Each group has the same permissions, that is, Read, Write, and Special
Permissions.

I assume that you simply added your name to the list of users, but left the
permissions alone.

Yes, that helps a lot. I looked up the permissions a while ago and
remember seeing SYSTEM, LOCAL SERVICE and Administrators. I'll get
back in tommorrow and reset the permissions. Thanks........
 
The default permissions for CBS on my machine show three groups or user
names:- SYSTEM, LOCAL SERVICE, Administrators.
Each group has the same permissions, that is, Read, Write, and Special
Permissions.

I assume that you simply added your name to the list of users, but left the
permissions alone.

I've never done this before. I was successful in gaining access to
that file - but don't know how to reset it.
 
Back
Top