Home » Questions » Computers [ Ask a new question ]

What %~2 means in this windows ftype command line?

What %~2 means in this windows ftype command line?

Found this http://php.net/manual/en/install.windows.commandline.php

Asked by: Guest | Views: 313
Total answers/comments: 1
Guest [Entry]

"From ftype /?:

Within an open command string %0 or %1
are substituted with the file name
being launched through the assocation.
%* gets all the parameters and %2 gets
the 1st parameter, %3 the second, etc.
%~n gets all the remaining parameters starting with the nth
parameter, where n may be between 2
and 9, inclusive."