add application to be run with windows start

Posted on 2014-01-28
Last Modified: 2014-02-02
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
Question by:Alkannetworks
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

Expert Comment

ID: 39814646

Author Comment

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

Expert Comment

ID: 39814691
you can write script to check if program is running, when it stopped you can run it:
Here you have examples:
Raise the IQ of Your IT Alerts

From IT major incidents to manufacturing line slowdowns, every business process generates insights that need to reach the people required to take action. You need a platform that integrates with your business tools to create fully enabled DevOps toolchains.

You need xMatters.

LVL 38

Accepted Solution

Gerwin Jansen, EE MVE earned 500 total points
ID: 39819256
You can try creating a very basic .cmd file that contains this:
@echo off
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.
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.

Author Closing Comment

ID: 39827385
thanks so much
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 39827580

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
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 shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

690 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