ZTree.com  | ZEN  | About...  

 Index   Back

Check out "start /?"   [Q]

By: Martijn Coppoolse   Homepage   Voorburg, NL  
Date: Oct 18,2018 at 01:50
In Response to: worked but i still have a minor problem with START "" and START in this batch (Ryan)

> but I have this problem, if VIDEO.BAT has AA= or BB=.
> AA= works but BB= make ztree flicker so badly to the point that
> requires a PC reboot
> the only difference is START "" in AA= and START in BB= (no double
> quotes for START )
> why is it?

Looking at the help description "start /?":

START ["title"] [/D path] [/I] [/MIN] [/MAX] [/SEPARATE | /SHARED]
[/LOW | /NORMAL | /HIGH | /REALTIME | /ABOVENORMAL | /BELOWNORMAL]
[/NODE ] [/AFFINITY ] [/WAIT] [/B]
[command/program] [parameters]

"title" Title to display in window title bar.
(...)
It would appear that the first quoted string after the start command is interpreted as the title of the new window.

So the line
START "" "%P2%" %1
will execute %P2%, in a new window with an empty title, passing along %1 as parameter.
If you leave out the empty title, however,
START "%P2%" %1
will execute %1, in a new window titled %P2%, passing along no parameters.


--
Martijn

93 views      
 

Messages in this Thread

 
93,933 Postings in 11,850 Threads, 347 registered users, 9 users online (1 registered, 8 guests)
Index | Admin contact |   Forum Time: Dec 10, 2018 - 1:28 pm EST  |  Hits:26,925,932  (2,400 Today )
RSS Feed