|
-
Sep 7th, 2005, 08:15 PM
#1
Autorun in Flash Drive
Is it possible that when we insert our USB FlashDrive it will automatically run the set-up just like in the CD-ROM? If yes could somebody tell me how?
Thanks!
-
Sep 7th, 2005, 09:15 PM
#2
Re: Autorun in Flash Drive
I don't know if flashdrives allow auto-run, if they do I expect it will work in the same way that CD-Rom's do, by using an AutoRun.ini file.
-
Sep 8th, 2005, 10:59 AM
#3
Re: Autorun in Flash Drive
Actually its "autorun.inf" 
Basic contents....
Code:
[AutoRun]
OPEN=MyProgram.exe
ICON=Images\SomeIcon.ico
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Sep 8th, 2005, 12:35 PM
#4
Re: Autorun in Flash Drive
it doesnt work for flash drives... CD roms only at this point.
-
Sep 8th, 2005, 04:47 PM
#5
Re: Autorun in Flash Drive
There must be something for USB drives though? When you stick one in it opens to that drive in Explorer.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Sep 8th, 2005, 10:02 PM
#6
Re: Autorun in Flash Drive
You can download the PowerToy called TweakUI that allows AutoPlay for removeable drives.
-
Sep 8th, 2005, 10:03 PM
#7
Re: Autorun in Flash Drive
I wish to do it my own way... Any other suggestions?
-
Oct 6th, 2005, 05:57 PM
#8
Hyperactive Member
Re: Autorun in Flash Drive
Correction - It works with Windows XP and flash drives
-
Mar 28th, 2007, 07:22 PM
#9
New Member
Re: Autorun in Flash Drive
actually there is no longer a way to run it right away, but there is a way to create an option to autorun a program on the Option Select screen
Code:
[autorun]
action= Run Blah
icon=blah.exe
open=blah.exe
try that
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|