How to set the location of database saving in windows server for InfluxDB 2.0?

I used to set the config file for version 1.* to set the location of database saving, but now in version 2.0 there’re no a config file and all data is saved to disk C:

  1. “influxd print-config > config.yml” print the config file
  2. move the contents of bolt path and engine-path per config file to the target locatoin.
  3. change the config.yml
  4. start the influxd

Does influxd look for the config.yml from it’s own folder then?