Auto run .bat

Status
Not open for further replies.

solidussnake

Distinguished
Dec 28, 2009
48
0
18,530
I'm trying to have a batch file or even if possible just a txt file directly to auto run when a folder is opened up on a flash drive. Is this possible or is it only possible with .exe?

i made a file autorun.inf
then had the

[autorun]
open=me.txt

the me.txt is the name of the text file and i figured maybe couldn't open .txt so i tried making a .bat to run the .txt but it didn't work. Any suggestions on how to get that to work if possible. It seems so if it were a cd but seems harder for flash drive
 
Status
Not open for further replies.