PK,
I don't think so. Your wwwroot should be a full Internet URL, like '
http://xxx.xxx.xxx.xxx' (replace the x's with your IP address, of course). The dirroot and dataroot parameters should be full internal file system pathnames, which would not include the computer name. What drive are they on? C:? Here is an example:
$CFG->wwwroot = '
http://xxx.xxx.xxx.xxx';
$CFG->dirroot = 'c:\moodle\server\moodle';
$CFG->dataroot = 'c:\moodle\server\moodledata';
Also note that PHP is a case-sensitive language and $CFG must be spelled with all uppercase (capital) letters.
If you had the Moodle files on a separate machine (cs20) in a LAN from the webserver, then you would have to use the machine name in the pathnames, like this:
$CFG->dirroot = '\\cs20\moodle\server\moodle';
$CFG->dataroot = '\\cs20\moodle\server\moodledata';
Or you could map the top-level moodle folder (directory), or its parent folder, to a drive letter on the webserver system (like "m:"). Then you would have something like my first example, but with "m:" instead of "c:". Just make sure that the mapping is active whenever Moodle is running.
RLE