Solved

add application to be run with windows start

Posted on 2014-01-28
7
282 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
Technology Partners: 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 500 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

756 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