bullet Posted October 31, 2004 Share Posted October 31, 2004 I am trying to find a command that simulates pressing the "Enter" key. I have a network floppy disk that copies Win98 cabs from a network machine back to the local machine. Reboots and then starts setup.exe. Once setup starts I have to press the "Enter" key for it to continue. Not good for unattend. That is why I am looking for a command that I can insert that will do that for me. Anyone know the answer? Thanks Link to comment Share on other sites More sharing options...
oftentired Posted November 1, 2004 Share Posted November 1, 2004 How are you starting setup? Link to comment Share on other sites More sharing options...
IcemanND Posted November 1, 2004 Share Posted November 1, 2004 try this, create a text file containing only a carriage return, name it 'ENTER.TXT'On the line where you run 'SETUP.EXE' change it toSETUP.EXE <ENTER.TXTThis should work, but some programs will not take redirected text this way. Link to comment Share on other sites More sharing options...
bullet Posted November 3, 2004 Author Share Posted November 3, 2004 Oftentired, I am starting setup by manually pressing the Enter key.Thanks Iceman I will try your suggestion and let you know of the results. Link to comment Share on other sites More sharing options...
bullet Posted November 5, 2004 Author Share Posted November 5, 2004 The Enter.txt method did not work. Worth a try though. Link to comment Share on other sites More sharing options...
fantomcat Posted June 12, 2005 Share Posted June 12, 2005 You could maybe make a batch file which executes it:If you make a .bat file and call it 1.batand then inside it, typeSetup.exe from here you could get you floppy to start the program, not the best idea, but maybe it will work, you also add other commands likeSetup.exe /id /is /iw :this would skip the scandisk and make you install alot faster - Just a suggestion, hope this helps, Steve Link to comment Share on other sites More sharing options...
eidenk Posted June 12, 2005 Share Posted June 12, 2005 (edited) I am trying to find a command that simulates pressing the "Enter" key. Two freeware utils who can do that from within a batch file : LaunchKey and Send Edited June 12, 2005 by eidenk Link to comment Share on other sites More sharing options...
azagahl Posted June 13, 2005 Share Posted June 13, 2005 (edited) 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 commandecho. | 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. Edited June 13, 2005 by azagahl Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now