How to kill the Batch files
HelloI have three files batch for the aggregation.
I used maxL in the batch file, and there are nearly 10 scripts of aggregation.
Sometimes I have to kill the batch files... Can anyone please suggest how to kill the ball file while running.
Thanks in advance.
Depends on who do OS you run the script, you run the script and why you want to kill the script
The script can be killed, but this does not mean that the current operation of essbase, you may need to use maxl /eas to try to kill the active session/query.
See you soon
John
http://John-Goodwin.blogspot.com/
Tags: Business Intelligence
Similar Questions
-
Simple two program start and kill the Batch file
Hello all :)
(Today) I am new to the script of the machine. It is something that I put in place and will try tomorrow.
CD /d "C:\path".
Debut.batCD /d "H:\path".
Beginning Program.exe: CHECK
ping localhost 10 1 n > ZERO
AV TASKLIST /fi "IMAGENAME eq program.exe" 2 > & 1 > NULL
IF ERRORLEVEL 1 GOTO CHECKTaskkill /f /im cmd.exe/t
If all goes well, .bat runs. A program will be executed. CMD will then search for program.exe until not found (released), then close the CMD.
In this case program.exe does not work with start/wait
I wonder if the check will slow down my machine if worked for a few hours.
I use Windows 7 x 64, SSD, 16 GB RAM and AMD 8350.
Considering the insertion of a small time-out, but seems ridiculous.
Is there a way to slow down the check, but always close immediately if program.exe is closed? Other alternatives? Thanks :)
The original manuscript of lots above is more suited for a loop that could sleep until needed, thus reducing CPU cycles
-> You can easily find it by yourself:
1. launch the batch file2. start the Task Manager.
3. click on the performance tab.
4. Add the "CPU Time" column.
5. sort the list next to the name of the task.
6. take note of the time CPU for cmd.exe.
7. check once again the batch file run for an hour.
I bet that time CPU will be negligible. I expect the timeout function to be very frugal. Tasklist.exe takes more time, but it runs only once every 20 seconds.
-
How to create the batch file for configuring windowos?
Like how to add running exe/service turn on DEP Windows batch file (.bat).
My computer > etiquette > advance setting > setting > prevention of execution of data (DEP) > add > ok.Hello
The question you posted would be better suited to the MSDN Community. Please visit the link below to find a community that will support what ask you
-
Administration of the system and the batch file
Hi all
I've linked a batchfile to be open in my pdf file, but every time I opened it from the link that a message pops up saying "refused by your system administrator."
Can someone show me how to allow the batch file to open
Thank you
This is a security feature. To change which can be opened as an attachment, you must change the registry. ETK preference reference has the information of the registry change you need.
-
How to adjust the volume to specific levels by using the batch file?
I use Windows Media player and want to adjust the volume level automatically using planning.
Anyone have any suggestions on how to set the volume level by using the batch file?
such that 0 is mute and 10 max, I want to set the volume 4
Thanks in advance for your suggestions
Eric
Hi Eric,.
The question you have posted is better suited to the MSDN forums. You can ask your question in the help link.
http://social.msdn.Microsoft.com/forums/en-us/categories
Hope the helps of information.
-
How to code a batch file to put in the form of z: drive?
I would like to drive Z: quick format and xcopy in D: drive in the Z: drive for backup.
I would like to pass on any message entry also.
Anyone have any suggestions on how to code a batch file for this?
Thanks for all the suggestions
Hi oem7110,
Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. It is best suited for on TechNet. Please post your question in the TechNet forum. Link: http://social.technet.microsoft.com/Forums/en-US/ITCG/threads
With regard to:
Samhrutha G S - Microsoft technical support.
Visit our Microsoft answers feedback Forum and let us know what you think.
-
How to reset the default program to open the batch files?
Original title: I have a batch file and I've changed the default opener of the batch file, HOW to reset it so my batch file work properly again?
I have a batch file that I use allows me to select a list of websites that I frequent. I accidentally changed the default opener of the batch file, HOW to reset it so my batch file work properly once again, now when I run it it opens for editing.
Hello
Control Panel - default programs - associate a Type of file or Protocol with a program.
Here's what it should be:
description = current Application of the Windows Batch file .bat = unknown application
You can use the methods here for re - associate the file type:
Restore the Type Associations by default Windows 7 file Extension
http://www.SevenForums.com/tutorials/19449-default-file-type-associations-restore.htmlIf necessary, this can be used to not associated with the file type.
How Unassociate a Type of Extension file in Vista and a utility to help (Windows 7 too)
http://www.Vistax64.com/tutorials/91920-unassociate-file-extention-type.htmlI hope this helps.
Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.
-
How to upgrade a driver automatically in Windows NT by using the batch file
I use the devcon tool to update a Windows XP driver, but unfortunately it does not support Windows NT. So I'm looking for a similar tool for Windows NT. Does anyone know any tool / or script that would update a driver via file/command line in Windows NT?
Thank you for taking the time to read the question.
Hello supportalcon,
Thank you for the question!
It is disheartening to know that have problems you with the Windows Driver. As I understand it, you need to update a driver automatically in Windows NT by using the batch file.
The question you posted would be better suited in the MSDN Forums. I would recommend posting your query in the MSDN Forums. You can follow the link to your question:
http://social.msdn.Microsoft.com/forums/en-us/categories/
Meet us if you face any problem of Windows, and I'd be happy to help you again and try to correct the problem as soon as possible.
Good day!
Hope this information helps.
-
Automatic execution of the batch file at the connection of the USB drive
I created a batch file that checks the drive e. the presence of a specific file, and if there, copy it to a location on the hard drive. (Drive E is where all USB drives see the place through my window of Windows Explorer.) I would like to set up my computer so that this batch file is executed whenever such a device is plugged into the USB port. How can I accomplish that?
Otherwise, is it possible to incorporate the Attaché-USB-player status in the batch file itself and just leave that batch file running at any time? I used "IF EXISTS E:\*.*", but that is not do me much good, because I have to keep control of this condition again and again, and eventually the batch file gets tired of the audit and said that the drive does not exist.
Hello
You can ask your question on the TechNet forums for batch files.
http://social.technet.Microsoft.com/forums/en-us/category/windowsvistaitpro
-
I want my procedure to return the error message in the batch file
Hi team,
I have a requirement from users of the company. Could you please provide your suggetsion to achieve this.
We have a batch file that is short on time, in this batch file, I'll call you a SQL script.
In the SQL script, I called you a procedure to run.
Inside the procedure, I have the following statement,
Select, insert and update commands.
and I use ANOTHER exception to handle errors.
My requirement is to pass the error messages for the batch file when one of the orders was not not run and send a notification e-mail to the group with the error text.
Please provide your suggestion.
Thank you and best regards,
Robette.
Could you please tell me, inside the procedure I have to remove the OTHER exception and how I can pass the value to the command file and where I add the content of the e-mail notification.
I suggest that you write modular code instead.
1. create a log table
2 modify the procedure to log on to the error log table or exceptions
3. that others suggest have the recovery/return procedure an exception in the client/batch file
4. for an exception have the batch file to call a procedure to do the emailing if there were exceptions
IMHO, it's a MISTAKE to try to put all these features in a single file. It is NOT scalable and makes it almost impossible to update the batch file if the requirements change in the future.
Logging should be a separate process with a separate log table so that you can capture ALL of the information that may be necessary, now or in the future. Enter information in a table of newspaper, it is EASY for ANYONE to query to see what problems are occurring in the process.
Emailing should be a separate process so that it can be used for your batch file current, files of future orders or even by procedures or functions in the database.
Do not try to create a solution "a script does everything."
-
Create the batch file to remove log files in Windows
We are running Oracle 11 G under Windows 2008 R2. For free tickets, we run daily from rman commands manually. I would like to create a batch to do it automatically. This is the batch file that I created.
The echo Yes | Del Y:\Orace11g\temp\*.*
Robocopy D:\Relius\Admin\RADB\ArchiveLogFiles\ Y:\Orace11G\temp\ b / mining: 3
RMAN
connect sys@radb target;
password
overlap archivelog all;
remove expired archivelog all;
Yes
but it stops at rman
C:\ > rman
Recovery Manager: release 11.2.0.1.0 - Production on Mar 21 10:49:27 Oct 2014
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
RMAN >
What is the correct way to cerate the batch file to delete the expired archivelogs?
Hello
It is not a problem of RMAN, but is that a batch under windows creation/configuration is the problem.
See this URL, how do I Configure a tasks scheduled under Windows 2008 R2.
-Next, create a file .bat with your instructions:
Set ORACLE_SID = radb
set ORACLE_HOME = c:\dbhome
RMAN cmdfilemyrmancommands.csv msglog = sys/PASSWD@radb target = c:\log.log
- Then put your RMAN commands in the file myrmancommands.csv
Run {}
devote to the disc channel type c1:
overlap archivelog all;
remove expired archivelog all;
output channel c1;
}
Best regards
-
How to recompile the COBOL files?
Hi all
Can anyone provide some documentation to see how to recompile the COBOL files using Net Express 5.1 in the command prompt?
Thanks in advance.
Thank you and best regards,
Siva Prasad B1. set up two environment variables, PS_HOME and COBROOT, on the computer where you are going to compile COBOL. (This should be your file server or a machine that has access to your file server.) You can do this from a DOS command prompt window.
Set PS_HOME = C:\hr840
Set COBROOT = c:\netexpress\base2. open a DOS commands prompt window, if you have not already, orders and access
\Setup. 3. run CBLBLD. BAT as follows
cblbld
whereis the drive where the compilation takes place, is the temp
Directory where the compilation is doneThe CBLBLD. BAT file will create the directory to compile for you, if it does not already exist.
Novel make sure to include a space between the
and parameters; they are treated as two different settings within the CBLBLD. Bat batch program. Also to ensure that you have permission write to and that the compilation process will take place there. For example, the following command will have the COBOL source of
\src\cbl and the compilation process under c:\temp\compile:
cblbld c: \temp\compile
Take note of the information that appears on the screen during the process is running. It provides the location of important files that you need to consider. -
How to get the $HTML_TOP file / apps
Guy
In fact, we work on the i-recruitment Module and must change in the form of CV according to my customer need, to change, go file resumes from as object directory mentioned to obtain and update the summary format.
So kindly help me how to join this directory because HTML_TOP is not mentioned in the batch file that auto move in particular folder.
Thank youHello
So kindly help me how to join this directory because HTML_TOP is not mentioned in the batch file that auto move in particular folder.
You are not sure if I understand you correctly, but what are you referring to the $OA_HTML directory? If so, connect to the source file the application as a user applmgr env, node-level application and issue of "echo $OA_HTML" or "echo $COMMON_TOP/html.
Thank you
Hussein -
How to access the textedit files in Icloud on time machine
Hi all
Bad, I need your help! I'm trying to access all my text edit files, which I had saved on ICloud.
My laptop does not run successfully. I was proposed to restore and re - install the op system. So I run a Machine back up full time and I restored my laptop. I should all have backed up, right?
Problem is: I'm trying to get all my work on Tex Edit, but I can't find it on Time Machine. Does anyone know how can I recover these files? I have two important years of drafting work there!
It would be good to have your suggestion.Thanks in advance for your help
Did you you save the files in the correct format - OS X Server: how to modify the configuration files - Apple support?
-
Re: How to save the video file to a DVD-R for Equium A200
I have the Equium A200. Someone can tell me how to save the video file to a DVD-R on my computer in order to use it later, or use it in windows movie maker and must not simply copy on another DVD-R right?
My cursor also has disappered in the suite of windows media, that makes life quite difficult.
Any ideas?
Thank you.
You mean, you want to copy the original DVD movie to HARD drive?
Well, you can copy the contents of the entire DVD to the HARD drive. It means that you have to copy a lot of data.
I would recommend shrinking the DVD movies using a tool called DVD shrink.
It would decrease the data and would also copy the content to the HARD drive.But if you want to use these files later in windows movie maker, so you must convert these using a 3rd party tool.
Google a bit and you should find many free applications that would help you to do this work.Good bye
Maybe you are looking for
-
Satellite P500-12F - Bleuscreen when insert SD card
When I insert a card SD of my Satellite P500-12F I immediately get a blue screen. Can anyone help with this? I have Windows 7 running which has been preloaded when I bought the machine
-
The first two lines of my toolbar disappeared. I find myself with most visited but the lines above, containing the button refresh, bookmarks, and search bar and above the one containing the links to the files, etc are passed, how do em back? == I was
-
Qosmio G30-155 Vista and cannot install XP
Hello I have G30/155 laptop with pre-installed Vista and I want to install XP on the second HD (D :).How can I do? The stop to start installation process.When I put the installation CD, the installation does not start!The media are OK and CD/DVD driv
-
Is it possible to manipulate the paths menu item in the same way that you can manipulate the paths? With the files, you can build paths and trails band will get where you want to go, but I don't see any way to do with menus. I have an application th
-
Poor quality with cDaq sinewave output
I have a cDaq 9174 with 9263 analog output module. As part of a larger system, I try to create a sinusoidal signal generator but have big problems getting something like a reasonable waveform. I use the express VI the sinus sumulate, then in the serv