Changing File Attributes

  • Thread starter Thread starter Mike Savage
  • Start date Start date
M

Mike Savage

Need to delete annoying file deposited on my desktop. Attribute is HSA.
Please tell me how to change attribute to A only so I can delete the file
(file name is FW_Potatos...)
Thanks in advance,
Mike
 
Mike Savage said:
Need to delete annoying file deposited on my desktop. Attribute is HSA.
Please tell me how to change attribute to A only so I can delete the file
(file name is FW_Potatos...)
Thanks in advance,
Mike


Hi Mike

Open a Command window (Start > Run, type cmd <ok>)

Type: cd C:\Documents and Settings\username\Desktop <enter>

Type: dir <enter> to make sure the file is listed (if it's not, try
substituting All Users for "username" in the path above).

Type: attrib -s -h FW_Potatos <enter>

Then you might as well delete it while you're here:

Type: del FW_Potatos <enter>

Type: exit <enter> to close the Command window.

Hope this helps.
 
Appreciate your detailed instructions. Unfortunately, the hidden files
don't display with a dir command, and when I tried to change the attributes,
the system told me there was no such file. I had another HSA file that
didn't display either (desktop.ini), but the system did recognize it. Could
the odd file name be a problem?
"FW_Potatos..." Also, file shows as 0 KB length. HELP!
 
Mike Savage said:
Appreciate your detailed instructions. Unfortunately, the hidden files
don't display with a dir command, and when I tried to change the attributes,
the system told me there was no such file. I had another HSA file that
didn't display either (desktop.ini), but the system did recognize it. Could
the odd file name be a problem?
"FW_Potatos..." Also, file shows as 0 KB length. HELP!

Hi Mike

Oops, so sorry, my mistake, What I should have said to do was type:

dir /ah <enter>

instead of plain "dir". That will make hidden files show.

Another blooper -- I'm sorry, I didn't spot the "..." on the end of the
filename, so you'd need to amend the "attrib" and "del" commands
accordingly:

Type: attrib -s -h FW_Potatos... <enter>

Type: del FW_Potatos... <enter>

Sorry for the confusion. Can you see if it works now?

 
Back
Top