![]() Run the program automatically: Once this is done, whenever you connect the pendrive to the computer, APO USB Autorun will detect your autorun.inf file inside the pendrive and will automatically run the program you have configured. ![]() Final Step: Configure and run automatically.Ex: ShellExecute = PASTADOAPP \ MEUAPP.exe. Note: If the portable program has multiple files, you can copy its folder to the USB stick, just make sure to enter the path in the ShellExecute field. You can use the USB stick to place other files, but be sure to keep both files. ![]() The flash drive should now contain the program's executable file and the autorun.inf file you just created. *)” In the “Type” field so that the file is saved with an INF extension and not a TXT extension. ![]() Important: Make sure to select the option “All files (*. Then, save the file to the USB stick named autorun.inf. Open = MEUAPP.exe ShellExecute = MEUAPP.exe UseAutoPlay = 1 Once you have pasted the text in the notepad, replace the text “MEUAPP” with the name of the program file you copied to the USB stick that will run automatically, as shown in the example below. Then open the notepad, copy the text below and paste it into the notepad window to create the autorun script. Copy the executable file of the program you want to run to the pendrive. Once installed, whenever you connect a USB storage device, such as a USB stick, it will check if there is an autorun.inf file inside the device and will run the configured program.Ĭreate the autorun.inf file To automatically run a program from the flash drive, it needs to have two things, the program you want to run automatically and a script file that points to the program on the flash drive. Restore the auto-run function To restore the "auto-run" function, the first thing we will need to do is download APO USB Autorun, a small free program that monitors the USB devices connected to the computer.
0 Comments
Leave a Reply. |