Welcome!

By registering with us, you'll be able to discuss, share and exchange private messages with other members of our community.

SignUp Now!

START *command

May
12,621
152
With this alias
Code:
v:\> alias dir
*dir /a /p /m /k /h /ne
I can "START DIR" and I get a new console in which the alias is executed.

"*dir" works in the current instance to give the built-in DIR command.

But if I try to START "*DIR", I get an error I don't understand.
Code:
v:\> start *dir
TCC: (Sys) The system cannot find the file specified.
 "C:\WINDOWS\SYSTEM32\*DIR.EXE"

What's going on there?
 
START thinks you're looking for an executable name ending in "DIR".
It seems odd that START would use wildcards. START's help doesn't mention it. And it doesn't work even if a matching file exists.
Code:
v:\> start *pconfig
TCC: (Sys) The system cannot find the file specified.
 "C:\WINDOWS\SYSTEM32\*PCONFIG.EXE"
 

Similar threads

Back
Top