All Forums
 Microsoft Windows CE
 General CE
 How set PATH environment variable for a console?
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

esavolle

31 Posts

Posted - 02 Sep 2003 :  05:06:06  Show Profile  Email Poster
Hi
I try to fix the PATH environment variable in a console shell.
I've found that i can fix the path for dll and exe with registry key [HKEY_LOCAL_MACHINE\Loader] and value "SystemPath".
But it works only for LoadLibrary() and CreateProcess().

Can i create/change another registry key to fix the PATH variable for console shell?

thanks for your help

Eric

Configuration: BitsyX & CE 4.1

ctacke

877 Posts

Posted - 02 Sep 2003 :  20:27:37  Show Profile  Email Poster
Windows CE has no notion of a "path". You must provide fully qualified paths to files. LoadLibrary is somewhat of an anomaly as it searches several paths, all of which are referenced in Help.
Go to Top of Page

ctacke

877 Posts

Posted - 03 Sep 2003 :  11:24:59  Show Profile  Email Poster
Note

The PATH command is valid within a single command shell window, but this is solely a compatibility feauture added by the command application, not something supported by the OS. If you set the path in one command window, it is not usable outside that window and does not persist once you close the current command shell.
Go to Top of Page

esavolle

31 Posts

Posted - 04 Sep 2003 :  03:02:58  Show Profile  Email Poster
thanks for all your answers.
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000