You know these "Viruses" on your USB, well here's a way to get rid of them.
Create a file and name it autorun.inf
in this autorun file there should be a header which is [autorun]
you could add new items to be veiwed when rightclicking on your flash drive by this procedure
To change the Icon you could add in the autorun file this code.
icon=ONS.ico
ofcourse there should be a file of name ONS in the flash drive
shell\lost=Help! I'm Lost!
This will display Help! I’m Lost! in the context menu so that you can click on it. But, it doesn’t know what to do when you click on it. Tell the system by using shell\verb\command option. In our example, we want to run the Lost.exe application. Adding this line will do the trick:
shell\lost\command=Lost.exe
You can add as many of these line pairs as you want to make the context menu as custom as you want.
To autorun a program use this
open=Programs\ONS\ONS.exe
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment