1 2 3 4 5 6 7 8 9 10 11 12
@if [%1]==[] goto missingparameters @if [%2]==[] goto missingparameters @java -cp "%CD%\ext\*" org.eclipse.jetty.http.security.Password %1 %2 @goto end :missingparameters @echo Usage: @echo makepassword username password @echo. :end