Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming

Reply
 
LinkBack Thread Tools
Old 06-28-08   #1 (permalink)
Custom User Title
 
pauldovi's Avatar
 
intel ati

Join Date: Jul 2005
Location: Daytona Beach, Florida
Posts: 13,146
Blog Entries: 4

Rep: 892 pauldovi is becoming famouspauldovi is becoming famouspauldovi is becoming famouspauldovi is becoming famouspauldovi is becoming famouspauldovi is becoming famouspauldovi is becoming famous
Unique Rep: 0
FAQs Submitted: 4
Hardware Reviews: 2
Trader Rating: 35
Default Using USB AutoRun

Would it be possible to use the AutoRun feature to create a shortcut on the desktop of a computer to my USB drive when I insert the drive.

The AutoRun file is Autorun.inf and a computer with Autorun enabled will run that file.

But will it work?
__________________
Intel Overclocking Guide * Need A New Password? * Dual Core Folding Guide * Intel Memory Guide * Use Vista's UAC * Don't Post News From Fudzilla!
"Rightful liberty is unobstructed action according to our will within limits drawn around us by the equal rights of others." - Thomas Jefferson
"If everyone is thinking alike, then somebody isn't thinking."
- General George Patton
"Make everything as simple as possible, but not simpler" -Albert Einstein

System: System
CPU
Q6600
Motherboard
Gigabyte GA-EP45T-DS3R
Memory
4GB DDR3-1600 CL7
Graphics Card
VisionTek 4870
Hard Drive
2 x 7200.10 RAID0 + 160GB
Sound Card
Onboard
Power Supply
Silverstone OP650
Case
Custom Stacker
CPU cooling
Stinger V6
GPU cooling
MCW60
OS
Vista Ultimate 64 bit
Monitor
Dual 20.1" Sceptre
pauldovi is offline Overclocked Account   Reply With Quote
Old 07-04-08   #2 (permalink)
The Project Keeper
 
Licht's Avatar
 
amd ati

Join Date: Mar 2007
Location: Bel Air
Posts: 8,861
Blog Entries: 3

Rep: 265 Licht is a proven memberLicht is a proven memberLicht is a proven member
Unique Rep: 0
Trader Rating: 0
Default

Quote:
Originally Posted by pauldovi View Post
Would it be possible to use the AutoRun feature to create a shortcut on the desktop of a computer to my USB drive when I insert the drive.

The AutoRun file is Autorun.inf and a computer with Autorun enabled will run that file.

But will it work?
Just create a shortcut and for the target use "<USB drive letter here>/autorun.inf". I think that is what you want anyways.

System: (AMD-AMD-ATI)-(CPU-Chip-GPU)
CPU
AMD Athlon X2 5200+
Motherboard
Gigabyte 790X AM2+
Memory
2x 1Gb Kingston && 2x 1Gb Wintec
Graphics Card
Saphire HD 3870
Hard Drive
[RAID0] [2X] WD 160GB 7,200RPM
Sound Card
X-Fi Extreme Gamer Fatality Professional
Power Supply
OCZ Game-X-Stream 700w
Case
NZXT Black Steel
CPU cooling
Stock Heatskin & Fan
GPU cooling
Stock Saphire 3870 Cooling
OS
Windows Vista Home Premium x64 SP1
Monitor
Samsung SyncMaster 19" Widescreen
Licht is offline Overclocked Account Licht's Gallery   Reply With Quote
Old 07-06-08   #3 (permalink)
New to Overclock.net
 
amd ati

Join Date: Jun 2008
Location: Dallas,TX
Posts: 413

Rep: 68 heretic is acknowledged by some
Unique Rep: 0
Trader Rating: 1
Default

Quote:
Originally Posted by pauldovi View Post
Would it be possible to use the AutoRun feature to create a shortcut on the desktop of a computer to my USB drive when I insert the drive.

The AutoRun file is Autorun.inf and a computer with Autorun enabled will run that file.

But will it work?
Yes it will. Here's a sample autorun and a vbs to add a shortcut (if you don't have the exe to do it):
Code:
[autorun]
shellexecute="cscript shortcut.vbs"
Code:
set WshShell = WScript.CreateObject("WScript.Shell")
strDesktop = WshShell.SpecialFolders("Desktop")
set oShellLink = WshShell.CreateShortcut(strDesktop & "Shortcut Script.lnk")
oShellLink.TargetPath = "%windir%explorer.exe"
oShellLink.Arguments = "/n,/e," & WshShell.CurrentDirectory
oShellLink.Save
__________________
System: My System
CPU
3800x2
Motherboard
DFI NF4 SLI-D
Memory
2gb GSkill ZX
Graphics Card
HD4850
Hard Drive
6+TB of insanity
Sound Card
X-Fi XtremeMusic
Power Supply
Corsair 750TX
Case
Rocketfish
CPU cooling
TT Sonic Tower
OS
XP Pro
Monitor
L2410NM + DYLM24D6
heretic is offline   Reply With Quote
Old 07-27-08   #4 (permalink)
Miki <3
 
SZayat's Avatar
 
amd nvidia

Join Date: Apr 2007
Location: St. Elsewhere
Posts: 6,681
Blog Entries: 2

Rep: 1482 SZayat is a starSZayat is a starSZayat is a starSZayat is a starSZayat is a starSZayat is a starSZayat is a starSZayat is a starSZayat is a starSZayat is a star
Unique Rep: 0
Folding Team Rank: 174
Trader Rating: 0
Default

Create Shortcuts on a USB Drive
__________________
Vista.x64.FAQMP3 ServerBoost.IE.in.VistaShortcut.Overlay.RemoverHR.Wallpaper.Websites
linskingdom's Official VMark BETA Testing Thread OCN's Finest Blogger: Technical Joe-Pinions
Let your computer help find cures


Quote:
Originally Posted by dieanotherday View Post
The only thing in my house that's over 4ghz is probably brains.

System: Jefferson Aero Plane
CPU
X2 6400+
Motherboard
Foxconn NF590 SLI
Memory
2GB Corsair XMS2
Graphics Card
Leadtek WinFast PX8800 GTS
Hard Drive
WD 500GB AAKS
Sound Card
X-Fi XtremeGamer
Power Supply
AcBel R8 607W
Case
GIGABYTE GZ-X2BPD-500
CPU cooling
Stock
GPU cooling
Stock
OS
Vista x64
Monitor
22" HP w2207h
SZayat is online now I fold for Overclock.net Overclocked Account SZayat's Gallery   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -4. The time now is 02:13 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License Internet Security By ControlScan

Terms of Service / Forum Rules | Privacy Policy | Advertising | Become an Official Vendor
Copyright © 2008 Shogun Interactive Development. Most rights reserved.
Page generated in 0.14817 seconds with 9 queries