How to delete autorun.inf with command prompt

Discussion in 'Software Q&A' started by CadCrazy, Nov 17, 2007.

Thread Status:
Not open for further replies.
  1. CadCrazy

    CadCrazy in search of myself

    Joined:
    Sep 21, 2006
    Messages:
    1,715
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Gurgaon
    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
     
  2. vish786

    vish786 "The Gentleman"

    Joined:
    Sep 17, 2006
    Messages:
    1,432
    Likes Received:
    0
    Trophy Points:
    0
    change attribute of autorun.inf & then u can easily delete it.
     
  3. tanvi chaturvedi

    tanvi chaturvedi New Member

    Joined:
    Apr 24, 2007
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    0
    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!!
     
  4. ravi_9793

    ravi_9793 TechTin.com

    Joined:
    Jun 22, 2005
    Messages:
    4,139
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    LocalHost
    let us take you want to delete autorun.inf file from D:\ drive
    For this type:
    del d:\autorun.inf
     
  5. Vishal Gupta

    Vishal Gupta Microsoft MVP

    Joined:
    Jul 28, 2005
    Messages:
    5,173
    Likes Received:
    121
    Trophy Points:
    0
    Location:
    AskVG.com
    Give following commands:

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

    himanshumaker New Member

    Joined:
    Nov 17, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    try this it will work

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

    utlnoel New Member

    Joined:
    Jan 16, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Thanks it works...
     
  8. Shash

    Shash New Member

    Joined:
    Dec 26, 2008
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    hii everyone. I have the same problem on my pen drive.
    I get the attribute command to work.

    But when i type 'del autorun.inf',
    I get a msg that the file is inaccessible, because it is being used by another program or process.
    Can anyone help?
     
  9. ashisharya

    ashisharya New Member

    Joined:
    Jan 23, 2005
    Messages:
    410
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    Locating....Locating...Access Denied!!!
    attrib -s -h -r autorun.inf
    del autorun.inf
     
  10. infra_red_dude

    infra_red_dude Wire muncher!

    Joined:
    Nov 5, 2003
    Messages:
    6,156
    Likes Received:
    5
    Trophy Points:
    0
    Then best thing is to boot into Safe Mode and then goto command prompt and change to that drive and type:

    Code:
    attrib -a -s -h -r autorun.inf
    *then*

    Code:
    del autorun.inf
    
     
  11. loGos

    loGos New Member

    Joined:
    Jul 23, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    helo= there. I have tried many things now to remove trojan virus it does not budge to any of it. is there anything else i could do.
     
  12. phuchungbhutia

    phuchungbhutia Om Ma Ni Pä Me Hum

    Joined:
    Jun 7, 2007
    Messages:
    384
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    sikkim
    If some process is using it then kill that process and del it . . Unlocker can do that . .
     
  13. paroh

    paroh New Member

    Joined:
    Jul 28, 2008
    Messages:
    850
    Likes Received:
    0
    Trophy Points:
    0
    I recommened u to install USB Disk Security.
     
Thread Status:
Not open for further replies.

Share This Page