phillyman2004 Posted November 25, 2004 Share Posted November 25, 2004 I want to be able to stick my USB drive into a computer and have a program run automatically , i have tried messing with the Autorun.inf file but havent had much luck , I work on around 20 - 30 machines a day and would like to have this featureany ideasRob Link to comment Share on other sites More sharing options...
00buck Posted November 26, 2004 Share Posted November 26, 2004 Check out this site...http://www.udrw.com/Also this one...http://www.torosoftware.com/autorun.asp Link to comment Share on other sites More sharing options...
MRGCAV Posted December 13, 2007 Share Posted December 13, 2007 (edited) I have Windows Vista and Windows XP Machines.I have several Flash drives.I have tried several times and failed.Here is my Autorun INF file.[autorun]OPEN=Q:ICON=\Icon\Flashdrive.icoACTION=USB FlashdriveIT does not work.I want to:1. Display my drive icon in “my computer”. (Flashdrive.ico)2 To have the drive open up. (displaying the flashdrive’s contents)3. To open the Autoplay dialog box.I am no programmer. Can anyone help me write this Autorun.inf file ?mrgcav@gmail.com Edited December 13, 2007 by MRGCAV Link to comment Share on other sites More sharing options...
spacesurfer Posted December 13, 2007 Share Posted December 13, 2007 Type this in your autorun.inf:autorun.inf[autorun]open=%windir%\explorer.exeicon=usb.icoThis works for me. It opens the folder and displays the icon I want.I have the icon and autorun.inf file system, readonly, hidden attribs (so viruses will not hijack your autorun.inf file and it remain invisible.type this in command prompt:attrib +s +h +r autorun.infattrib +s +h +r usb.ico Link to comment Share on other sites More sharing options...
Arie Posted December 13, 2007 Share Posted December 13, 2007 (so viruses will not hijack your autorun.inf file and it remain invisible.This is pure nonsense I'm afraid. Even when the file is marked as a system file, read-only and hidden, it can still be tampered with by virusses. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now