Delete system file command line
We can’t delete files having system attribute set using del command from command line. For example in the folder c:\dir I have a file convert.exe. Now if I try to delete it from command line
c:\dir>del convert.exe Could Not Find c:\dir\convert.exe c:\dir>
But convert.exe is present in the directory c:\dir
If I do dir it shows empty folder.
c:\dir>dir Volume in drive C has no label. Volume Serial Number is C45C-FE6F Directory of c:\dir 27-02-2010 15:25
del /A:S convert.exe
This works on all versions of Windows OS, i.e Windows XP/2003, Windows Vista and Windows 7.