If you enable the .exe program to automatically run Java code after the system starts, Method 1: add the .exe program to the "Start Menu"-"All Programs"-"start. The method is as follows: 1. Select the .exe program, right-click the menu, and choose "send"> "desktop shortcut ". 2. Right-click "start" and select "Browse all users" from the menu ". 3. Drag the desktop shortcut to start on the left side of the Start window. Www.2cto.com Method 2: Modify the registration table and add the. exe program to the "Start" tab of the msconfig program. The method is as follows: 1. Create the "GPS. reg" file. 2. Enter the following content: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Run] "GPS" = "\" C: \ Program Files \ GPS \ GPS.exe \ "1" www.2cto.com 3. Save the file and double-click the file to import the Registry file. Alternatively, Run the regedit command to enter the registry and find HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Run. Create a New String item named GPS and the value is "C: \ Program Files \ GPS \ GPS.exe "1. The Registry Information of the program in the "Start" tab of msconfig is saved under HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Run.