I want to install Drupal on an IIS machine, with Drupal on an different directory as my root. I'm using the latest php and IIS 6. test.php works ok on that directory.
However it is well known that require_once does not function well (especially with relative paths), but also in my case where the files are stored on a different drive.

In index.php this line will fail: require_once './includes/bootstrap.inc';
Why is there a dot after the quote?

This will work on an IIS machine:
$absolute_path = 'd:/Drupal/';
require_once $absolute_path.'/includes/bootstrap.inc';

Before I change all the commands, do you agree this is the right way to proceed?
And if so, is it possible to have a global parameter called $absolute_path orso, which is empty by default?

Thanks for your comments,

Frank.