Sponsored Content
Special Forums Windows & DOS: Issues & Discussions Close CMD after opening multiple exe's with it ? Post 302837443 by pasc on Thursday 25th of July 2013 06:43:23 PM
Old 07-25-2013
Now I tried this:

Code:
rem Prog1.exe
cd "Path"
Prog1.exe
Prog2.exe
EXIT

(source:http://www.sevenforums.com/tutorials...rams-once.html , removed the start before the ".exe"'s because it would break the whole thing.)

It now reliable opens both programs, the commandline however stays open until I close the second program by using "Alt + F4" means or by closing out regularily.

The quesition now is:
How do I get the commandline to just close out after opening those programs ?
It always waits for me to close the program till it executes the EXIT command.
 

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
SYNCE-INSTALL-CAB(1)					   http://synce.sourceforge.net/				      SYNCE-INSTALL-CAB(1)

NAME
synce-install-cab - install .cab file SYNOPSIS
synce-install-cab [-d LEVEL] [-p device_path] [-o WCE_OPT] [-n] FILENAME ... DESCRIPTION
synce-install-cab installs a .cab file on a device connected through SynCE. OPTIONS
-d LEVEL Set debug log level: 0 - No logging (default) 1 - Errors only 2 - Errors and warnings 3 - Everything -p PATH Path to device -h Display help message. -o WCE_OPT Flags to pass to wceload.exe on the remote device. Useful flags include: /noui - Install silently /delete 1 - Don't delete CAB file after installation /nouninstall - Don't create an uninstall file /askdest - Ask where to install /noaskdest - Get install information from registry -n Don't run wceload (just copy CAB files) FILENAME The .cab file(s) that will be installed. If no filenames are specified, wceload.exe will nontheless be run on the remote device; this will install any CAB files already copied, for example with the -n flag. AUTHOR
David Eriksson <twogood@users.sourceforge.net>. SEE ALSO
synce(1) synce-remove-program(1) synce-list-programs(1) prun(1) pcp(1) The SynCE project November 2002 SYNCE-INSTALL-CAB(1)
All times are GMT -4. The time now is 10:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy