C:\>

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?
 
B

Bigguy

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
 
B

Bigguy

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
 
T

Tim Slattery

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
 
F

five256

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"
 
J

John Aldred

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!
 
G

Guest

If you are looking for SFC errors type the following

findstr /c:"[SR] Cannot" %windir%\logs\cbs\cbs.log |more
 
N

Nisko

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?
 
N

Nisko

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.
 
J

John Aldred

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.
 
N

Nisko

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........
 
N

Nisko

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Access denied 38
sfc \scannow help 4
unable open Log CBS file. 3
CBS.Logs 2
Windows Defender, Vista Error Code 0x80240029 5
cbs.log 1
TO: Chad Harris - FROM: GazzyD 1
system scan 1

Top