2000 Windows / System directory

Hi all

Has anyone experienced a problem in detecting the correct SysDir and WinDir
under Windows 2000 using D3

My works for 95, 98 and NT4 but not 2000

Any help would appreciated

TIA

Al