Could you please explain what does it mean in bat file:
SET server=%~1
Could you please explain what does it mean in bat file:
SET server=%~1
 
    
    set the value of the environment variable server to the first command-line argument, with the " quotes removed.
