?
Solved

add application to be run with windows start

Posted on 2014-01-28
7
Medium Priority
?
287 Views
Last Modified: 2014-02-02
dear
how i can add application to be run every time when windows restart or every time it was closed suddenly my application under the below path on local server , and it is related to Oracle application
D:\ORANT\BIN\F50GEN32.EXE
0
Comment
Question by:Alkannetworks
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 8

Expert Comment

by:ozzeczek
ID: 39814646
0
 

Author Comment

by:Alkannetworks
ID: 39814680
thanks , but that means if the application was close suddenly when windows running it will not open again i need an action to leave this application always open how i do that
0
 
LVL 8

Expert Comment

by:ozzeczek
ID: 39814691
you can write script to check if program is running, when it stopped you can run it:
Here you have examples:
http://crimsonshift.com/scripting-check-if-process-or-program-is-running-and-start-it/
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 38

Accepted Solution

by:
Gerwin Jansen, EE MVE earned 1500 total points
ID: 39819256
You can try creating a very basic .cmd file that contains this:
@echo off
:again
D:\ORANT\BIN\F50GEN32.EXE
pause
goto again

Open in new window

Save the above to a file like c:\temp\startf50.cmd" and create a shortcut in Start->All Programs->Startup to this .cmd file.

For testing, I've put a pause line in, remove it if the script works.
0
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 39819442
Not sure about this particular executable but I would look at making it a Windows Service.

You can then configure the Service to restart automatically if it stops.

How to make an exe a service and how to configure a service steps are easily found with a simple Google search.
0
 

Author Closing Comment

by:Alkannetworks
ID: 39827385
thanks so much
0
 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 39827580
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Via a live example, show how to take different types of Oracle backups using RMAN.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question