Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Autorun for a USB stick

Reply
Thread Tools Display Modes

Autorun for a USB stick

 
 
UnknownTBeast
Guest
Posts: n/a

 
      06-14-2008
I know this sounds odd, but is it possible to make my USB memroy stick to
automaticly run a file once I put it in without me having to click anything?
 
Reply With Quote
 
 
 
 
Synapse Syndrome
Guest
Posts: n/a

 
      06-14-2008
"UnknownTBeast" <> wrote in message
news:9603E0CF-8AEC-404A-9423-...
>I know this sounds odd, but is it possible to make my USB memroy stick to
> automaticly run a file once I put it in without me having to click
> anything?


Yes, with an autorun.inf file.

There should be webpages showing you have to make one on the web. All you
need to do is have an file called autrorun.inf on the memory stick, with the
following:

eg.
-----------------------------------------------
[autorun]
open=filename.txt
-----------------------------------------------

You can also give the flash drive a custom icon as well.

http://en.wikipedia.org/wiki/Autorun

ss.


 
Reply With Quote
 
Synapse Syndrome
Guest
Posts: n/a

 
      06-14-2008
"Synapse Syndrome" <> wrote in message
news:...
>>I know this sounds odd, but is it possible to make my USB memroy stick to
>> automaticly run a file once I put it in without me having to click
>> anything?

>
> Yes, with an autorun.inf file.
>
> There should be webpages showing you have to make one on the web. All you
> need to do is have an file called autrorun.inf on the memory stick, with
> the following:
>
> eg.
> -----------------------------------------------
> [autorun]
> open=filename.txt
> -----------------------------------------------
>
> You can also give the flash drive a custom icon as well.
>
> http://en.wikipedia.org/wiki/Autorun



I was just trying to check if it would work on files that way, as I have
only used it to run executables on CD-ROMs that I have complied, or to
change a drive's icon. For files, rather than executables, the command may
be different, but I cannot check right now as I only have a laptop with a
partitioned hard drive right now.

ss.


 
Reply With Quote
 
Richard G. Harper
Guest
Posts: n/a

 
      06-14-2008
Yes, it's quite possible; done the same way it's done for CDs and other
autorun media. See here for info on how:

http://dailycupoftech.com/usb-drive-...ninf-tweaking/

--
Richard G. Harper [MVP Shell/User]
* NEW! Catch my blog ... http://msmvps.com/blogs/rgharper/
* PLEASE post all messages and replies in the newsgroups
* The Website - http://rgharper.mvps.org/


"UnknownTBeast" <> wrote in message
news:9603E0CF-8AEC-404A-9423-...
>I know this sounds odd, but is it possible to make my USB memroy stick to
> automaticly run a file once I put it in without me having to click
> anything?


 
Reply With Quote
 
Uwe Sieber
Guest
Posts: n/a

 
      06-14-2008
UnknownTBeast wrote:
> I know this sounds odd, but is it possible to make my USB memroy stick to
> automaticly run a file once I put it in without me having to click anything?


No, this has been more and more limited by each new Windows
version. Under Vista even on CDROM drives the user is asked.

For autorun something without any clicking, a 3rd party
software is required.

My USB drive letter manager is able to do this. It's a
small Win32 service. It's primary function is to assign
drive letters to USB drives but it can execute programs
on arrival of a drive too.
http://www.uwe-sieber.de/usbdlm_e.html

You need a simple configuration file, the USBDLM.INI
like this:

;letters U: to Z: as default for USB drives
[DriveLetters]
Letters=U-Z

;execute the Windows calcualtor on arrival of
;an USB drive with a volume label "MyCalcDrive"
[OnArrival10]
Label=MyCalcDrive
open=calc

With acitve UAC the program is started non elevated.
The next version of USBDLM will be able to start
programs elevated.


Greetings from Germany

Uwe
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
autorun Windows media player stops win. explorer Windows Vista Hardware 2 05-19-2008 12:44 AM
AutoRun and Vista YBeaupre Windows Vista General Discussion 2 02-21-2008 03:21 PM
Autorun/autoplay PJC Windows Vista General Discussion 4 10-02-2007 01:55 PM
Autorun with Regedit...Help pauldatorre Windows Vista Performance 1 09-30-2007 07:22 PM
AutoRun not running Holiday_x@yahoo.com Windows Vista General Discussion 2 01-17-2007 05:40 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59