C:\_G\WWW\~ELISANET\INFO\tscmd109.html
<http://www.elisanet.fi/tsalmi/info/tscmd109.html>
Copyright © 2003- by Prof. Timo Salmi  
Last modified Fri 2-Nov-2018 13:15:45

 
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 my tscmd.zip 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 companion.

Please see "The Description and the Index page" for the conditions of usage and other such information.



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.

START starts a separate window to run a specified program or command.
  @echo off & setlocal enableextensions
  start "" notepad textfile1.txt
  start "" notepad textfile2.txt
  start "" notepad textfile3.txt
  endlocal & goto :EOF



start ["title"] ...
"title"
: 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 #36 and #174.

[Previous] [Next]

C:\_G\WWW\~ELISANET\INFO\tscmd109.html
C:\_G\WWW\~ELISANET\FTPCMD\TSALMI.CMD /tscmd109
http://www.elisanet.fi/tsalmi/info/tscmd109.html
file:///c:/_g/www/~elisanet/info/tscmd109.html