If you are talking about "C:\Program Files\directx" (or similar), that
folder is always empty. DirectX is installed into the Windows and
System/System32 directories.
To verify whether DirectX has been installed properly select 'Run' from the
start menue and type 'dxdiag'. Then click OK.