How can I removed a directory named "con.glos"?

J

Jeremy Sun

I can't removed this directory named "con.glos".

I know that "con" is a device name.

I cannot simply reformat the computer.

Any advice?

Cheers,
Jeremy.
 
P

Pegasus \(MVP\)

Jeremy Sun said:
I can't removed this directory named "con.glos".

I know that "con" is a device name.

I cannot simply reformat the computer.

Any advice?

Cheers,
Jeremy.

Reformatting your hard disk would certainly do the trick
but there are easier ways. Start a Command Prompt,
then type this:

del \\.\c:\con.glos
 
J

Jeremy Sun

Well, that is nice. This solution gets pass the problem about the "con". So
one problem solved. Many thanks.

But now it gives me "Access Denied" when I tried to "rd" it...

I tried to xcacls /G it and it gives no error, however the "Access Denied"
doesn't go away...

Any clue?

Jeremy

c:\> xcacls \\.\c:\con.glos /T /C /G Administrator:OF
processing dir: \\.\c:\con.glos
processing dir: \\.\c:\con.glos\*.*

c:\> rd /s \\.\c:\con.glos
\\.\c:\con.glos, Are you sure? Yes
Access Denied
 
P

Pegasus \(MVP\)

Jeremy Sun said:
Well, that is nice. This solution gets pass the problem about the "con". So
one problem solved. Many thanks.

But now it gives me "Access Denied" when I tried to "rd" it...

I tried to xcacls /G it and it gives no error, however the "Access Denied"
doesn't go away...

Any clue?

Jeremy

c:\> xcacls \\.\c:\con.glos /T /C /G Administrator:OF
processing dir: \\.\c:\con.glos
processing dir: \\.\c:\con.glos\*.*

c:\> rd /s \\.\c:\con.glos
\\.\c:\con.glos, Are you sure? Yes
Access Denied

It may have the read-only attribute set. Use the attrib command
with the same syntax to view and/or alter the attributes.
 
J

Jeremy Sun

It may have the read-only attribute set. Use the attrib command
with the same syntax to view and/or alter the attributes.

nop, it sound but unluckily doesn't work.

I wonder where that file/directory comes from?

Wish that it was those days with DOS where you can load up Norton Disk
Doctor, put a 'E5' as the first letter of the file and then do a chkdsk /f
....

c:\> attrib \\.\c:\con.glos
\\.\c:\con.glos

c:\> attrib -r \\.\c:\con.glos
access is denied - \\.\c:\con.glos
 
P

Pegasus \(MVP\)

Jeremy Sun said:
nop, it sound but unluckily doesn't work.

I wonder where that file/directory comes from?

Wish that it was those days with DOS where you can load up Norton Disk
Doctor, put a 'E5' as the first letter of the file and then do a chkdsk /f
...

c:\> attrib \\.\c:\con.glos
\\.\c:\con.glos

c:\> attrib -r \\.\c:\con.glos
access is denied - \\.\c:\con.glos

The file/folder comes from some Internet page that you have
accessed. Some people do their darnest to make downloaded
files undeletable. Some day I'll find out how they create such
files; when I do then I will know how to knock them out.

You can change the file name with Acronis DiskEditor, in
much the same way as you used to with the Norton Utilities.

What do you get with this command:

cacls \\.\c:\con.glos

If you still get "Access denied", have you tried seizing ownership
of the folder? Unfortunately the only way I know to seize ownership
is through Windows Explorer.
 
J

Jeremy Sun

Pegasus (MVP) said:
The file/folder comes from some Internet page that you have
accessed. Some people do their darnest to make downloaded
files undeletable. Some day I'll find out how they create such
files; when I do then I will know how to knock them out.

You can change the file name with Acronis DiskEditor, in
much the same way as you used to with the Norton Utilities.

What do you get with this command:

cacls \\.\c:\con.glos

If you still get "Access denied", have you tried seizing ownership
of the folder? Unfortunately the only way I know to seize ownership
is through Windows Explorer.

When I go cacls \\.\c:\con.glos, it shows nothing other than the file path.

Acronis DiskEditor? I will sure to try this out. Many thanks for the help.
It is great to learn something new.

Jeremy
 

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

Top