Reply to Re: Can I set environment variables under Win-98 ?

Your name:

Reply:


Posted by Erwin Moller on 04/26/06 15:45

tony@tony.com wrote:

>
> I've tried:
>
> system("set PATH="%PATH%;e:\;c:\");
> But that doesnt seem to work.
> I thought maybe $_ENV['path='%PATH%;e:\;c:\'];
> But no luck.
>
> Can anyone tell me how please?
>
> thanks
>
> tony

Hi tony,

Win 98? Wow. :-)

Did you try to use putenv() ??
http://nl3.php.net/manual/en/function.putenv.php

Alernatively: Didn't win98 had a file called autoexec.bat that contained the
PATH? Or was that DOS only? Not sure.
Try to open it (need right rights of course) and add your piece of the path.

I suggest you test putenv() first.

Good luck,
Erwin Moller

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация