I am a computer undergraduate students, to take part in a game, need to do a program to put into the usb drive, when U disk inserted into the computer, the program to run automatically in the U disk, now is a confused, don't know how to operate, how to write a program, set up development environment, how to run, etc., hope to have a great god can guide, thank you very much,
Declaration: I am not using this function to do viruses, on the contrary I want to do is antivirus program,
CodePudding user response:
Can try to do an Autorun. J inf file[AutoRun]
The Open=X: \ "program". Exe or "command line"
CodePudding user response:
Under Windows XP can use autorun. J infWindows Vista or above, part or a computer installed antivirus software, or have been modified Settings (mainly to prevent running this way U disk virus), is off by default, there is no way,
CodePudding user response:
There are two kinds of automatic operation,One is, double-click the U disk drive, automatic running;
One is put on the computer, and automatically run,
The first kind, autorun is ok;
Second, we need to change the usb device type, tells the operating system it is a CD type
CodePudding user response:
Will be part of the U disk space is formatted into CDFS (as if),CodePudding user response:
Can use the Autorun. J inf file method, but easy to anti-virus software to removeCodePudding user response:
Search "old wild peach"?CodePudding user response:
Will be part of the U disk space is formatted into CDFSThen use Autorun. J inf program from the start