I want to know if there is any way to launch applications (portable ones) from a USB device, I have to mention that I am a normal user, and the box's administrator has blocked launching apps from a USB.
migrated from stackoverflow.com Mar 6 '11 at 22:48
This question came from our site for professional and enthusiast programmers.
Hey. I think many usb/CD's have an Autorun.inf file, from where they can do some commands. Example of one from my usb
I think there is a command "open = application name here.exe", which can launch applications, that are on the USB, but I'm not sure if you have to have admin rights. It also depends on XP and win7 users.
I hope this helped :)
If your administrator blocked launching apps from a USB drive, then good for him/her. I have dealt with viruses that are spread via removable drive and they wasted a lot of time and money to fix. Even if you could get around your administrator's security restrictions, don't. Just copy your app to a local disk and run it that way.
Remember, your administrator is there to help avoid problems. When you try to work around the administrator, you will likely introduce problems.