Quantcast
Channel: Active questions tagged windows - Super User
Viewing all articles
Browse latest Browse all 11080

how to autorun a python script from a usb Insertion?

$
0
0

so ive got .bat which loads a python script which loads up a viedo meme, and i want it to automatically load when i insert my usb.

ill be using this on my own pc, its just to run a video file when usb inserted.

i can just run the python then have it run each time usb is inserted, but i want it all to run from the usb so its easier to do whenever i want it.

ive tried to do it with a autorun.inf file but that wont load up the .bat file for some reason but the label change does work


Viewing all articles
Browse latest Browse all 11080

Trending Articles