If accessing system, better read registry
to take care of relocated situation.

http://en.wikipedia.org/wiki/My_Documents
http://support.microsoft.com/?kbid=221837


--- bill lam <[EMAIL PROTECTED]> wrote:

> Sherlock, Ric wrote:
> > The problem this would introduce is how to detect Vista vs XP (and
> > therefore Documents vs. My Documents) in profile.ijs.  Then there are
> > the use cases of usb installations and users who relocate their
> > Documents folders.
> 
> FWIW window version can be obtained by api call
> 'kernel32 GetVersion i' 15!:0 ''
> versions
> w2k 5.0
> winxp  5.1
> vista  6.0
> 
> -- 
> regards,
> bill
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to