John Draugr
Experienced Member
Hi. I've been putting together some batch files for use on my Compaq Portable II. I'm using DR-DOS 7.0.3.
What I'm trying to do is create a batch file that when executed will emulate key strokes by a user on the keyboard.
Here is an example: We all know Control-Alt-Delete reboots a PC. Well, I'd like to create a Batch file that when executed will somehow trigger the 3 key combination without user intervention and basically reboot the system. I don't know if there is a way to do this internally, or if it is something that might require a small external dos file/program, but I'd really like to implement something like this.
Now, I only gave the Control Alt Delete explanation as an example. Currently there are two batch files I'd like to create and emulate the key press by a user on the keybaord. The feature I'm trying to trigger via a batch is the method of changing the computers speed from 8Mhz (Fast) to 6 Mhz (Slow) and vice versa. I plan on having these batch files called from a DOS menu program I am building through batch files.
If anyone has any info on how to do this, please let me know.
Thanks
John
What I'm trying to do is create a batch file that when executed will emulate key strokes by a user on the keyboard.
Here is an example: We all know Control-Alt-Delete reboots a PC. Well, I'd like to create a Batch file that when executed will somehow trigger the 3 key combination without user intervention and basically reboot the system. I don't know if there is a way to do this internally, or if it is something that might require a small external dos file/program, but I'd really like to implement something like this.
Now, I only gave the Control Alt Delete explanation as an example. Currently there are two batch files I'd like to create and emulate the key press by a user on the keybaord. The feature I'm trying to trigger via a batch is the method of changing the computers speed from 8Mhz (Fast) to 6 Mhz (Slow) and vice versa. I plan on having these batch files called from a DOS menu program I am building through batch files.
If anyone has any info on how to do this, please let me know.
Thanks
John