PDA

View Full Version : How to delete autorun.inf with command prompt


CadCrazy
17-11-2007, 12:06 PM
I used dir/ah to view hidden files on c drive. Autorun.inf files is present there but when i try to delete it using "del autorun.inf " command , i get error file not found. plz help

vish786
17-11-2007, 02:05 PM
change attribute of autorun.inf & then u can easily delete it.

tanvi chaturvedi
17-11-2007, 02:54 PM
u can change the attribute usin attrib commmand in cmd...

fr more help u cn type in attrib/? in cmd prompt n u'll get a complete list of the symbols whch cn be used wid the attrib command...

try out it will help!!

ravi_9793
17-11-2007, 02:57 PM
let us take you want to delete autorun.inf file from D:\ drive
For this type:
del d:\autorun.inf

Vishal Gupta
17-11-2007, 03:13 PM
Give following commands:

attrib -s -h -r autorun.inf
del autorun.inf
It should work. :)

himanshumaker
17-11-2007, 05:59 PM
try this it will work

erase aurorun.inf /f /a -r
that will delete file from the disk without asking u