Click to See Complete Forum and Search --> : [VBS] - How to Run .vbs file when usb is plugged


meassokha
May 23rd, 2008, 08:11 AM
i have creat a .vbs file to open my .bat file and i want to run this file automatically whenever someone plug there usb in my computer. i have searched for many website in order to solve this problem but it's not suited what i want, because they always told me to use the autorun.inf in the removable drive to run the .vbs file. but i don't want to do like this cos i can't change the autorun.inf in the removable drive that someone else plug in my computer. so is there anyway to start my .vbs file without using the way above when the usb is plugged? Help me please.

PeejAvery
May 28th, 2008, 09:04 AM
The only way to make USB flash drives work automatically is to buy one that has U3 technology. Then it will act as a CD-ROM drive and can use autorun.inf. Other than that, there are applications you can install on your own machine that will autoexecute when you plug your USB drive in.