Welcome!

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

SignUp Now!

Fixed (CMD compat) START /D fails to recognize the switch option.

Aug
713
10
TCC-RT 22.0.27
Code:
SET DEST="%~dp1"
START "" /D %DEST% "%~dp0mintty.exe"
…opens the directory %DEST% in Explorer.

CMD' START do start mintty.exe as intended.
 
CMD's START expects a space between /D and the path. TCC's START expects no space between them.
 
More specifically, CMD don't care. It can work with either style, as long as the path is quoted, but still it is a compatibility problem.
 

Similar threads

Replies
0
Views
1K
Back
Top