Computing.Net > Forums > Solaris > enter key solaris

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

enter key solaris

Reply to Message Icon

Name: sajju
Date: June 1, 2009 at 21:01:31 Pacific
OS: Sun Solaris
Subcategory: General
Comment:

Hi,
When I run setup.exe, it prompts to "Press Enter To Continue". Now I want to automate this, ie put setup.exe in a script or batch file. So, when I run this batch file, it should be executed automatically without waiting for anyone to press Enter Key. So, can someone please help me how to catch Enter Key.
Sajju (India)



Sponsored Link
Ads by Google

Response Number 1
Name: jefro
Date: June 2, 2009 at 13:15:44 Pacific
Reply:

This can't be a solaris question. It doesn't use .exe files.

"Best Practices", Event viewer, host file, perfmon, antivirus, anti-spyware, Live CD's, backups, are in my top 10


0

Response Number 2
Name: sajju
Date: June 2, 2009 at 21:46:16 Pacific
Reply:

This is the script, I am running in Sun Solaris...

/sas/sassetup # sassetup file path
# here I need to catch the Enter Key & execution continues.
2 # passing parameter for renewal
:END


0

Response Number 3
Name: nails
Date: June 3, 2009 at 07:14:44 Pacific
Reply:

Have you considered redirecting a carriage return? You can redirect a filename that just has a carriage return:

/sas/sasetup < filename

or you might try a Unix here document:

/sas/sassetup << NAILS

NAILS
echo "continue with your script"


0

Response Number 4
Name: jefro
Date: June 3, 2009 at 14:04:44 Pacific
Reply:

There is a way to embed enter. From dos I think it was an alt + something + something key stroke. If forget it now.

"Best Practices", Event viewer, host file, perfmon, antivirus, anti-spyware, Live CD's, backups, are in my top 10


0

Response Number 5
Name: sajju
Date: June 3, 2009 at 23:27:54 Pacific
Reply:

thanks for your reply, i have tried but it still not working in my case.


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon





Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: enter key solaris

How to NFS Mount from Solaris ? www.computing.net/answers/solaris/how-to-nfs-mount-from-solaris-/937.html

Help!!my x86 Solaris7 got error!! www.computing.net/answers/solaris/helpmy-x86-solaris7-got-error/1178.html

Installing Solaris 8 with Win2k in HD www.computing.net/answers/solaris/installing-solaris-8-with-win2k-in-hd/1147.html