Sponsored Content
Special Forums Windows & DOS: Issues & Discussions Close CMD after opening multiple exe's with it ? Post 302836213 by pasc on Tuesday 23rd of July 2013 06:59:52 PM
Old 07-23-2013
Close CMD after opening multiple exe's with it ?

Current code:

Code:
cd "PATH"
cmd /c "EXE1.exe"
"EXE2.exe"

Problem:
The Command line stays open after opening the second executable.

I would need a way to open multiple programs and automatically close the command line after they have been opened.

Thanks in advance:

pasc
 

10 More Discussions You Might Find Interesting

1. Programming

how To edit exe to insert a serial no wich can be usd by runing exe

At time of installation I have to open the resource. and i have to insert a string serial number in the exe. please provide me code to edit the exe (in solaris) to insert a serial number which can be used by exe at run time. (6 Replies)
Discussion started by: ssahu
6 Replies

2. UNIX for Dummies Questions & Answers

man <cmd> >> cmd.txt

I've noticed most of my postings here are because of syntax errors. So I want to begin compiling a large txt file that contains all the "man <cmd>" of the commands I most have problems with. I ran a "man nawk >> nawk.txt" but it included a header/footer on each "page". Anyone know how I'd be... (6 Replies)
Discussion started by: yongho
6 Replies

3. Shell Programming and Scripting

Opening multiple documents at once

I'm trying this:$ for n in `ls` ; do xterm -e vim $n & ; done bash: syntax error near unexpected token `;' $I want to edit my files all at once, not one at a time. How can I do that? (2 Replies)
Discussion started by: Orange Stripes
2 Replies

4. UNIX for Advanced & Expert Users

Multiple instances of windows exe from unix

Hi, I have a requirement to run multiple instances of an .exe file present in windows server from unix machine. The number of threads to be invoked is determined dynamically based on a variable field. We will be passing some parameters to windows .exe file for each instance. I am a unix... (2 Replies)
Discussion started by: sam99
2 Replies

5. Windows & DOS: Issues & Discussions

bat file opening multiple IE windows

I'm trying to open multiple IE windows and enter the same text and press <enter> on each. Here's an example with what I have so far. REM Open @echo on start http://10.1.1.1 ping 1.1.1.1 -n 5 -w 1000 >nul @echo password start http://10.1.1.2 ping 1.1.1.1 -n 5 -w 1000 >nul @echo password... (2 Replies)
Discussion started by: Pitt
2 Replies

6. Shell Programming and Scripting

Run multiple commands in $() without opening a new shell

The code below works, but takes too many lines and looks awkward: db2 "export to $filename of del select * from $table with ur"|tee -a $LOGFILE|awk '/Number of rows exported:/ {print $5}' > numrows.tmp numrows=$(cat numrows.tmp) rm numrows.tmp When I try the... (2 Replies)
Discussion started by: akar_naveen
2 Replies

7. Windows & DOS: Issues & Discussions

Long UNC path not working in CMD.EXE on remote machine

Hi, I am trying to connect to a remote server using Plink tool. Both my local and remote machines are Windows. On remote server, I have OpenSSH server installed. I am able to run commands on remote machine but there is some problem with long UNC path, which I noticed today. For... (3 Replies)
Discussion started by: Technext
3 Replies

8. Shell Programming and Scripting

Unix cmd prompt how to get old cmd run?

Hi, I am using SunOS I want to serch my previous command from unix prompt (like on AIX we can search by ESC -k) how to get in SunOs urgent help require. (10 Replies)
Discussion started by: RahulJoshi
10 Replies

9. Programming

when parent process close, how to close the child?

can someone provide an example, where if the parent process quits for any reason, then the child process will also close? (3 Replies)
Discussion started by: omega666
3 Replies

10. Shell Programming and Scripting

Listing multiple files in windows cmd

i have multiple files like how to do list files from new_30 to new_50 i have tried this command but it wont work dir new*{30-50}.txt my exact requirement is to get line count of these files the command which work is FOR %i IN (new*.txt) DO find %i /c /v "" but at the... (1 Reply)
Discussion started by: sagar_1986
1 Replies
Padre::Perl(3pm)					User Contributed Perl Documentation					  Padre::Perl(3pm)

NAME
Padre::Perl - A more nuanced "Where is Perl" module than Probe::Perl DESCRIPTION
Even though it has only had a single release, Probe::Perl is the "best practice" method for finding the current Perl interpreter, so that we can make a system call to a new instance of the same Perl environment. However, during the development of Padre we have found the feature set of Probe::Perl to be insufficient. "Padre::Perl" is an experimental attempt to improve on Probe::Perl and support a wider range of situations. The implementation is being contained to the Padre project until we have competently "solved" all of the problems that we care about. GUI vs Command Line On some operating systems, different Perl binaries need to be called based on whether the process will be executing in a graphical environment versus a command line environment. On Microsoft Windows perl.exe is the command line Perl binary and wperl.exe is the windowing Perl binary. On Mac OS X (Darwin) perl.exe is the command line Perl binary and wxPerl.exe is a wxWidgets-specific Perl binary. PAR Support PAR executables do not typically support re-invocation, and implementations that do are only a recent invention, and do not support the normal Perl flags. Once implemented, we may try to implement support for them here as well. FUNCTIONS
"perl" The "perl" function is equivalent to (and passes through to) the "find_perl_interpreter" method of Probe::Perl. It should be used when you simply need the "current" Perl executable and don't have any special needs. The other functions should only be used once you understand your needs in more detail. Returns the location of current perl executable, or "undef" if it cannot be found. "cperl" The "cperl" function is a Perl executable location function that specifically tries to find a command line Perl. In some situations you may critically need a command line Perl so that proper "STDIN", "STDOUT" and "STDERR" handles are available. Returns a path to a command line Perl, or "undef" if one cannot be found. "wxperl" The "wxperl" function is a Perl executable location function that specifically tries to find a windowing Perl for running wxWidgets applications. In some situations you may critically need a wxWidgets Perl so that a command line box is not show (Windows) or so that Wx starts up properly at all (Mac OS X). Returns a path to a Perl suitable for the execution of Wx-based applications, or "undef" if one cannot be found. COPYRIGHT &; LICENSE Copyright 2008-2012 The Padre development team as listed in Padre.pm. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module. perl v5.14.2 2012-06-27 Padre::Perl(3pm)
All times are GMT -4. The time now is 04:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy