Using environment variable to run server on windows

Is it possible to launch a server on Windows using arguments such as an environment variable ?

I mean let’s say I have a development server which will be private and not visible only.
And in the meantime being able to run a “live” server which will be a stable version and that will be public.

So basically I want lo load specific resources depending on those arguments which implies running the run.bat file with arguments

And then having config files like for example

citmp-server-dev.yml
citmp-server-prod.yml

Possible ?
Thanks

No.

Just run 2 servers? On diffrent ports?

Well to be honest, I’d like to store my code only on one Github repository and being able to run two FiveM servers on two different machines but with different configs (but the code I deliver would be the same)

Thx for replying, you see it’s more like a code maintenance enhancement I’m trying to achieve :wink:

The server takes a command line argument which is a name of a .yml file to load.

I haven’t found any reference to citmp-server.yml file.
Which file and command must be used to pass that argument ?

Where does it lie ?

citizenmp.server.exe blah.yml