Solved

add application to be run with windows start

Posted on 2014-01-28
7
274 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
  • 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 37

Accepted Solution

by:
Gerwin Jansen 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 76

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 37

Expert Comment

by:Gerwin Jansen
ID: 39827580
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

The password reset disk is often mentioned as the best solution to deal with the lost Windows password problem. In Windows 2008, 7, Vista and XP, a password reset disk can be easily created. But besides Windows 7/Vista/XP, Windows Server 2008 and ot…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
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…

863 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now