COKEDUDEUSF Posted March 13, 2010 Posted March 13, 2010 How would you add warning messages to open a program? I'm sometimes stubborn about using newer programs because the older ones are better, but eventually they do become obsolete . So I wanna force myself to really think about it before I use an older version of a program.
spriditis Posted March 13, 2010 Posted March 13, 2010 (edited) Try play with[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\programname.exe]"Debugger"="program to run in place"Running that program will run "program to run in place" instead (with original exe name as Param1 and rest as param2, param3, etc.To avoid recursion, you need to do something like this:1. User runs program.exe -> your program runs, shows warning,2. Temporary remove "Debugger" value, so you can start original normaly.3. Run Param1, passing rest of params.4. Restore "Debugger", close your program.Of course this only works for executable_name.ext - renaming it will easily avoid this trick. Edited March 13, 2010 by spriditis
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now