Solved

add application to be run with windows start

Posted on 2014-01-28
7
269 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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

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…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
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.

762 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

20 Experts available now in Live!

Get 1:1 Help Now