Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: Windows Directory for current OS


Message #1 by "Rhodri Davies" <texasradioband@h...> on Thu, 07 Nov 2002 12:34:02 +0000
Hi guys, This is my 1st message to the board, but Im stuck on something. 

You know how different versions of windows have different names for the windows folder eg WinNT, Windows, Win, etc. Well, in Delphi
there is a function which returns the windows directory (LMDProcs). I was wondering if there is anything of this nature in
JavaScript? Can u help? 


The thing is, I want to call a file which is in the C:\Windows\Help\ folder, so I gotta use file:///C:/Windows/Help/ etc. but this
won't work on all OS's.  The JavaScript is compiled into a HTML Help file.  
Any ideas, please reply or get back 2me.
Thanks a lot
RodMSN 8 with e-mail virus protection service:  2 months FREE*

  Return to Index