Copyright © 2003-2010 by Prof.
Last modified Sat 15-May-2010 17:27:04
Assorted NT/2000/XP/.. CMD.EXE Script Tricks
From the html version of the tscmd.zip 1cmdfaq.txt file
To the Description and the Index
This page is edited from the 1cmdfaq.txt faq-file contained in
command line interface (CLI) collection. That zipped file has much
additional material, including a number of detached .cmd script
files. It is recommended that you also get the zipped version as a
Please see "The Description and
the Index page
" for the conditions of usage and other such
109} How do I open e.g. three separate instances of notepad at one go?
> I have a file OPENTEXT.CMD that contains the following lines:
> notepad textfile1.txt
> notepad textfile2.txt
> notepad textfile3.txt
> When I type OPENTEXT, I want all three of the text files to open in
separate Notepad windows.
starts a separate window to run a specified program or
@echo off & setlocal enableextensions
start ["title"] ...
start "" notepad textfile1.txt
start "" notepad textfile2.txt
start "" notepad textfile3.txt
endlocal & goto :EOF
Specifies the title to display in Command Prompt window title bar.
It always is advisable to include it, even if left empty (a common practice).
Also see items