I'm trying to make a flash drive start a program automatically. I think I have the syntax correct but it doesn't work. In the root directory I have a file named autorun.inf which contains these lines of text:
[autorun]
ICON=Support\PEARL.ICO
;OPEN=Support\ViewPics.exe
ShellExecute=Support\ViewPics.exe
UseAutoPlay=1
The Pearl icon shows but the drive opens to the root directory instead of running the program. The target file is present and will run manually.
So, what's wrong?
Oh yes, I'm running the latest update to Windows 10
[autorun]
ICON=Support\PEARL.ICO
;OPEN=Support\ViewPics.exe
ShellExecute=Support\ViewPics.exe
UseAutoPlay=1
The Pearl icon shows but the drive opens to the root directory instead of running the program. The target file is present and will run manually.
So, what's wrong?
Oh yes, I'm running the latest update to Windows 10