windows - Batch file - Custom CMD commands; /? or help display? -


i know when type command pass question mark, return information on syntax, such set /?. how can in batch file? such if have batch file in cmd's root directory , call such "batchtest /?" display message?

this work:

if "%1"=="/?" (     echo line 1     echo line 2     echo line 3 ) 

Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -