473,503 Members | 3,740 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

USB Flash AutoRun

Hi all

I wanna run my application directly from a Flash Disk.

I want it AUTORUN once the device is attached.
I have seen some virus script-programs which create their own autoruns
on a specific Flash Disk device.

It would be very thankful If anyone could tell me about it.

Thanks in advance ...
TMWin

Jun 28 '07 #1
2 3164
tmWin <tm****@gmail.comwrote in news:1183057112.766023.37590
@g37g2000prf.googlegroups.com:
Hi all

I wanna run my application directly from a Flash Disk.

I want it AUTORUN once the device is attached.
I have seen some virus script-programs which create their own autoruns
on a specific Flash Disk device.

It would be very thankful If anyone could tell me about it.

Just create an autorun.inf and it'll launch whatever program you specify.
Jun 28 '07 #2
Just create an autorun.inf and it'll launch whatever program you specify.

Nope not from a flash disk or USB device

see this link http://www.microsoft.com/whdc/devic...age/usbfaq.mspx for
full details

Q: What must I do to trigger Autorun on my USB storage device?
The Autorun capabilities are restricted to CD-ROM drives and fixed disk
drives. If you need to make a USB storage device perform Autorun, the device
must not be marked as a removable media device and the device must contain
an Autorun.inf file and a startup application.

The removable media device setting is a flag contained within the SCSI
Inquiry Data response to the SCSI Inquiry command. Bit 7 of byte 1 (indexed
from 0) is the Removable Media Bit (RMB). A RMB set to zero indicates that
the device is not a removable media device. A RMB of one indicates that the
device is a removable media device. Drivers obtain this information by using
the StorageDeviceProperty request.

For more information about the SCSI Inquiry command, see the T10 committee
located at http://www.t10.org.

For more information about the StorageDeviceProperty, see the
STORAGE_DEVICE_DESCRIPTOR storage structure in the Windows DDK, located at
http://msdn.microsoft.com/library/d...e656e9a.xml.asp.

For more information on Autorun.inf files see the "Creating an
AutoRun-Enabled Application" article located at
http://msdn.microsoft.com/library/d....asp?frame=true.

regards

Michel Posseth [MCP]

"Spam Catcher" <sp**********@rogers.comschreef in bericht
news:Xn**********************************@127.0.0. 1...
tmWin <tm****@gmail.comwrote in news:1183057112.766023.37590
@g37g2000prf.googlegroups.com:
>Hi all

I wanna run my application directly from a Flash Disk.

I want it AUTORUN once the device is attached.
I have seen some virus script-programs which create their own autoruns
on a specific Flash Disk device.

It would be very thankful If anyone could tell me about it.


Just create an autorun.inf and it'll launch whatever program you specify.

Jun 28 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2346
by: M.E.Farmer | last post by:
Hello all, I needed this and did a quick search around and didn't see any examples. I knew it had to be easy, and it was. So here it is a CD_Autorun program in python. It is very simple and...
11
5033
by: Ray5531 | last post by:
I'm looking for a good Freeware autorun maker for my C# application.Any suggessions? Thanks
2
1498
by: Carl Fenley | last post by:
I am writing a new version of a legacy application. The legacy application comes packaged with end-user data on a CD or DVD. When the end-user inserts the CD, the application is either installed...
1
4323
by: liznitch | last post by:
I'm trying to create an autorun menu for a disc, using flash. I would like the buttons to open files on the disc. Can anyone tell me how to script this? Thanks. Liz
2
8511
by: Joe Cool | last post by:
I know this is probably not the proper newsgroup to ask this question, but I do not know which one is. And most of you guys here know a lot about windows programming so I am taking a chance some...
0
6101
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: Overview NOTE- This complete article on "Windows Autorun FAQs" applies theoretically to all Windows NT-based OSes till Windows Vista (and probably Vista's successors too)....
0
30174
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: List of autostart locations Linked from the Original article- "Windows Autorun FAQs: Description". Que: Can you list all the autostart locations for windows? Ans: Here is...
0
9930
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: Programs dealing with autoruns Linked from the Original article- "Windows Autorun FAQs: Description". Que: Can you list programs that help me to view/modify the autoruns...
0
1410
by: sharoo4000 | last post by:
I have made autorun CD. Which contains jpeg images in same folder where .exe file is present. I want them to hide or want to make presentation in 1 file on AUTORUN CD? Can i do this if yes how?
0
7261
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7445
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5559
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4991
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4665
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3158
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1492
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
369
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.