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

318 views      
Thread locked
 

Messages in this Thread

 
95,076 Postings in 11,987 Threads, 350 registered users, 104 users online (0 registered, 104 guests)
Index | Admin contact |   Forum Time: Aug 14, 2020 - 1:57 am EDT  |  Hits:33,102,882  (2,644 Today )
RSS Feed