You are here

AutoPlay

2 posts / 0 new
Last post
Warmango
Warmango's picture
Offline
Last seen: 2 years 8 months ago
Joined: 2016-06-28 14:02
AutoPlay

This is an idea that ive seen some apps do, Essentially the idea is that the Platform "auto runs" when the USB in plugged in. im curious if this is possible?

YoursTruly
YoursTruly's picture
Offline
Last seen: 2 years 2 months ago
Joined: 2015-08-07 07:58
Dear Warmango,

Dear Warmango,

this is possible by creating a file called "autorun.inf" and placing it in the root of the plugable device (external HDD, Falsh Drive, DVD, CD, etc.).
This is basically a plain INI-File with the section "[AutoRun]".
You can also set the icon that will be shown in explorer at this file.

Please be aware that some settings will slow down the mounting process in windows or might crash the PC where you plugged it in.
(All depending what you specify at this file and also at the device type - for example I had a problem with a Western-Digital HDD some years ago. But it seems that it was only this series of HDD of WD because others worked as normal)

For further information please have look in MSDN:
https://msdn.microsoft.com/de-de/library/windows/desktop/cc144206(v=vs.85).aspx

Troubleshooting:
If your system will not recognize the autorun.inf please check if you have autorun disbaled for the device type you are using.

Kind regards
-Y-T-

Log in or register to post comments