I am trying to find a command that simulates pressing the "Enter" key.A few things come to mind:
1. From a batch file, you may be able to use this command
echo. | foobar
"echo." is a special command that submits a blank line. This only works if the program reads from standard input device (CON) and does not directly query the keyboard.
2. Try STUFFKEY.EXE, contained in the OzWoz utilities. Look for STUFFKEY here:
http://short.stop.home.att.net/freesoft/misc.htm3. Smart Boot Manager (latest version is 3.7.1 at sourceforge) installs to the boot sector of your hard disk and lets you choose which partition to boot up. It also lets you create duplicate boot "records" which consist of both a partiton choice PLUS keystrokes to buffer when booting it. For example you can define a "Safe Windows" which boots your Windows partition as usual but also stuffs an F5 keystroke.
4. XOSL boot manager will also let you stuff keys while booting. This boot manager is prettier than Smart Boot Manager, but in addition to using the boot sector it requires placing some small files in a DOS partition as well.
Good luck.