How to delete a file with a space at end of the name and hidden attributes?
Posted
by Dr. Zim
on Server Fault
See other posts from Server Fault
or by Dr. Zim
Published on 2010-05-04T17:37:04Z
Indexed on
2010/05/04
17:48 UTC
Read the original article
Hit count: 308
We have a hidden file with a space at the end of the file name. Usually, I take ownership of the file, then use a command line rename with the 8.3 (dir/x) file name. However, rename doesn't acknowledge hidden or system files.
Any ideas on how to remove it? The original creator cannot access the file. The system is a Windows 2003 server with NTFS and SMB file sharing (normal windows file sharing).
© Server Fault or respective owner