How to set as auto them('Base Url' and 'Root Dir', 'Status' as Running) on TMS WebServer?

We want to set as auto them('Base Url' and 'Root Dir', 'Status' as Running) on TMS WebServer.
How to do it?

The Base URL and Root Dir are set as command-line parameters
This is controlled in the TMS WEB Core settings:

-s $(DefaultURL) $(OutputDir)

Can an individual web server be registered in the TMS Web Server program with a separate configuration file (like xxx.ini)?

It is not clear what you mean.
You mean you want to use another web server instead of the default debug server?
If so, configure this also under options.
Note that the current web server is for local debugging purposes and is not intended to be used as server to deploy your client application to.

ok. thank you.