Close CMD after opening multiple exe's with it ?

 
Thread Tools Search this Thread
Special Forums Windows & DOS: Issues & Discussions Close CMD after opening multiple exe's with it ?
# 15  
Old 07-27-2013
Why did you use inverted commas?

*SEE* THE DIFFERENCE!!!

Manually from a Command Prompt:-

Code:
C:\ANY\PATH> START NOTEPAD.EXE<CR>
C:\ANY\PATH> START "NOTEPAD.EXE"<CR>

EDIT:

NOTE:
<CR> == Carriage Return == Return or Enter key; NOT added characters.

Last edited by wisecracker; 07-27-2013 at 05:46 AM.. Reason: Displayed above...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question
File::DosGlob(3pm)					 Perl Programmers Reference Guide					File::DosGlob(3pm)

NAME
File::DosGlob - DOS like globbing and then some SYNOPSIS
require 5.004; # override CORE::glob in current package use File::DosGlob 'glob'; # override CORE::glob in ALL packages (use with extreme caution!) use File::DosGlob 'GLOBAL_glob'; @perlfiles = glob "..\pe?l/*.p?"; print <..\pe?l/*.p?>; # from the command line (overrides only in main::) > perl -MFile::DosGlob=glob -e "print <../pe*/*p?>" DESCRIPTION
A module that implements DOS-like globbing with a few enhancements. It is largely compatible with perlglob.exe (the M$ setargv.obj version) in all but one respect--it understands wildcards in directory components. For example, "<..\l*b\file/*glob.p?>" will work as expected (in that it will find something like '..libFile/DosGlob.pm' alright). Note that all path components are case-insensitive, and that backslashes and forward slashes are both accepted, and preserved. You may have to double the backslashes if you are putting them in literally, due to double-quotish parsing of the pattern by perl. Spaces in the argument delimit distinct patterns, so "glob('*.exe *.dll')" globs all filenames that end in ".exe" or ".dll". If you want to put in literal spaces in the glob pattern, you can escape them with either double quotes, or backslashes. e.g. "glob('c:/"Program Files"/*/*.dll')", or "glob('c:/Program Files/*/*.dll')". The argument is tokenized using "Text::ParseWords::parse_line()", so see Text::ParseWords for details of the quoting rules used. Extending it to csh patterns is left as an exercise to the reader. EXPORTS (by request only) glob() BUGS
Should probably be built into the core, and needs to stop pandering to DOS habits. Needs a dose of optimizium too. AUTHOR
Gurusamy Sarathy <gsar@activestate.com> HISTORY
o Support for globally overriding glob() (GSAR 3-JUN-98) o Scalar context, independent iterator context fixes (GSAR 15-SEP-97) o A few dir-vs-file optimizations result in glob importation being 10 times faster than using perlglob.exe, and using perlglob.bat is only twice as slow as perlglob.exe (GSAR 28-MAY-97) o Several cleanups prompted by lack of compatible perlglob.exe under Borland (GSAR 27-MAY-97) o Initial version (GSAR 20-FEB-97) SEE ALSO
perl perlglob.bat Text::ParseWords perl v5.18.2 2014-01-06 File::DosGlob(3pm)