Here's the idea: keep ppsap.exe disabled by default and rename it. When I need to use it, change the name back, then run PPS. When exiting, close it and rename it again to prevent it from running at startup.
Two goals: 1, when closing PPS, I want to be able to close it at the same time. This can only be solved with a BAT. 2, prevent it from auto-running. There are two ways for this. One is to prevent modification of the registry. But as far as I know, there is no registry monitoring software that doesn't use resources. That means a state could be set and then modified when closing PPS or shutting down. The second method is to change the filename of ppsap.exe. So taken together, changing the filename is a pretty good solution. Just run the following BAT when closing the program.
You can use a BAT to start the program, then pause, and when exiting, press Enter once to automatically exit both programs and rename ppsap.exe.
Below is my incorrect code. Could some expert please fix it.
If there's a better method, please suggest it too. For example, modifying the PPS program, or some other method.
Two goals: 1, when closing PPS, I want to be able to close it at the same time. This can only be solved with a BAT. 2, prevent it from auto-running. There are two ways for this. One is to prevent modification of the registry. But as far as I know, there is no registry monitoring software that doesn't use resources. That means a state could be set and then modified when closing PPS or shutting down. The second method is to change the filename of ppsap.exe. So taken together, changing the filename is a pretty good solution. Just run the following BAT when closing the program.
You can use a BAT to start the program, then pause, and when exiting, press Enter once to automatically exit both programs and rename ppsap.exe.
Below is my incorrect code. Could some expert please fix it.
If there's a better method, please suggest it too. For example, modifying the PPS program, or some other method.
echo off
ren d:\Program Files\PPStream\ppsap.exec ppsap.exe
d:\Program Files\PPStream\ppstream.exe
pause
taskkill /f /im ppstream.exe
taskkill /f /im ppsap.exe
ren d:\Program Files\PPStream\ppsap.exe ppsap.exec
del c:\ppsds.pgf d:\ppsds.pgf e:\ppsds.pgf
Recent Ratings for This Post
( 1 in total)
Click for details
| Rater | Score | Time |
|---|---|---|
| yishanju | +15 | 2009-10-10 00:06 |

