- Oct
- 364
- 17
The description of the /C option in the Help for START should be clarified: "/C Start the program in a new TCC window and close the TCC window when the application ends."
For almost 2 years I have been using this code and I kept having a blank "extra" window appear. The "extra" window doesn't have a TCC command line, it's just blank.
START /C /PGM "c:\Program Files\Notepad++\Notepad++.exe" c:\temp\myfile.txt
Notepad++ opens in one window and a separate blank TCC window also opens.
I posted a help question and vefatica replied that I should not be using "/C". That starts another TCC.EXE (the empty window) and that TCC.EXE starts Notepad++ and waits for it to exit (then exits itself).
The current Help wording gives the impression one window will open and that window will contain the running program, here Notepad++.
For almost 2 years I have been using this code and I kept having a blank "extra" window appear. The "extra" window doesn't have a TCC command line, it's just blank.
START /C /PGM "c:\Program Files\Notepad++\Notepad++.exe" c:\temp\myfile.txt
Notepad++ opens in one window and a separate blank TCC window also opens.
I posted a help question and vefatica replied that I should not be using "/C". That starts another TCC.EXE (the empty window) and that TCC.EXE starts Notepad++ and waits for it to exit (then exits itself).
The current Help wording gives the impression one window will open and that window will contain the running program, here Notepad++.