How to delete autorun.inf with command prompt

Results 1 to 13 of 13

Thread: How to delete autorun.inf with command prompt

  1. #1
    in search of myself CadCrazy's Avatar
    Join Date
    Sep 2006
    Location
    Gurgaon
    Posts
    1,719

    Default How to delete autorun.inf with command prompt

    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
    Popular Gadget Deals
    ::::::::::::::::::::
    Unban Praka123
    ::::::::::::::::::::
    Vista is my Secretary | Mac is my Girlfriend | Linux is my Wife
    "Ek Se Mera Kya Hoga"

  2. #2
    "The Gentleman" vish786's Avatar
    Join Date
    Sep 2006
    Posts
    1,434

    Default Re: How to delete autorun.inf with command prompt

    change attribute of autorun.inf & then u can easily delete it.
    "The use of COBOL cripples the mind; its teaching should, therefore, be regarded as a criminal offense."
    - Dijkstra

  3. #3
    Right Off the Assembly Line tanvi chaturvedi's Avatar
    Join Date
    Apr 2007
    Posts
    21

    Default Re: How to delete autorun.inf with command prompt

    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!!
    my desires are my deservance

  4. #4
    TechTin.com ravi_9793's Avatar
    Join Date
    Jun 2005
    Location
    LocalHost
    Posts
    4,141

    Default Re: How to delete autorun.inf with command prompt

    let us take you want to delete autorun.inf file from D:\ drive
    For this type:
    del d:\autorun.inf
    YagHost.com - Pure SSD web Hosting

  5. #5
    Microsoft MVP Vishal Gupta's Avatar
    Join Date
    Jul 2005
    Location
    AskVG.com
    Posts
    5,173

    Default Re: How to delete autorun.inf with command prompt

    Give following commands:

    Code:
    attrib -s -h -r autorun.inf
    del autorun.inf
    It should work.
    Blog: [URL="http://www.AskVG.com/"]http://www.AskVG.com/[/URL]

  6. #6
    Right Off the Assembly Line
    Join Date
    Nov 2007
    Posts
    3

    Default Re: How to delete autorun.inf with command prompt

    try this it will work

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

  7. #7
    Right Off the Assembly Line
    Join Date
    Jan 2009
    Posts
    1

    Default Re: How to delete autorun.inf with command prompt

    Thanks it works...

  8. #8
    Right Off the Assembly Line
    Join Date
    Dec 2008
    Posts
    12

    Default Re: How to delete autorun.inf with command prompt

    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. #9
    In The Zone ashisharya's Avatar
    Join Date
    Jan 2005
    Location
    Locating....Locating...Access Denied!!!
    Posts
    410

    Default Re: How to delete autorun.inf with command prompt

    attrib -s -h -r autorun.inf
    del autorun.inf
    To follow the path:
    look to the master,
    follow the master,
    walk with the master,
    see through the master,
    become the master. -Zen

  10. #10
    Wire muncher! infra_red_dude's Avatar
    Join Date
    Nov 2003
    Posts
    6,157

    Default Re: How to delete autorun.inf with command prompt

    Quote Originally Posted by Shash View Post
    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?
    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
    "The true measure of a man is how he treats someone who can do him absolutely no good."

    http://phoenix-ani.blogspot.com

  11. #11
    Right Off the Assembly Line
    Join Date
    Jul 2009
    Posts
    1

    Default Re: How to delete autorun.inf with command prompt

    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. #12
    Om Ma Ni Pä Me Hum phuchungbhutia's Avatar
    Join Date
    Jun 2007
    Location
    sikkim
    Posts
    384

    Default Re: How to delete autorun.inf with command prompt

    If some process is using it then kill that process and del it . . Unlocker can do that . .
    Om Ma Ni Pä Me Hum: (perfection of-)
    Om: generosity,- Ma: pure ethics,-Ni: tolerance n patience.- Pä: perseverance,- Me: concentration,-Hum: wisdom...

  13. #13
    Alpha Geek paroh's Avatar
    Join Date
    Jul 2008
    Posts
    822

    Default Re: How to delete autorun.inf with command prompt

    Quote Originally Posted by Shash View Post
    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?
    I recommened u to install USB Disk Security.

Similar Threads

  1. Zip using command prompt
    By Itz_Me!!! in forum Programming
    Replies: 2
    Last Post: 20-11-2008, 06:31 PM
  2. Command Prompt Problem
    By dhawalsant in forum QnA (read only)
    Replies: 6
    Last Post: 04-10-2008, 01:17 PM
  3. Command Prompt Help
    By rishi1 in forum QnA (read only)
    Replies: 2
    Last Post: 20-07-2006, 11:05 AM
  4. Chat With Command Prompt
    By rakeshishere in forum Tutorials
    Replies: 11
    Last Post: 16-07-2006, 02:40 PM
  5. Command prompt in xp
    By suresh4ever in forum QnA (read only)
    Replies: 1
    Last Post: 10-01-2005, 05:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Close