//append more variables separated by ; if required SET Path=%PATH%;;C:Program FilesMicrosoft SQL ServerClient SDKODBC170ToolsBinn; ; //run your command here Path