in reply to Re: sendmail on windows- unique location
in thread sendmail on windows- unique location

That's good to know. Is there ever conflict with user privilege and changing system environment veriables? I'm not admin on my schools computers/render farm.
  • Comment on Re^2: sendmail on windows- unique location

Replies are listed 'Best First'.
Re^3: sendmail on windows- unique location
by Delusional (Beadle) on Nov 04, 2005 at 08:19 UTC
    Changing these variables depents on how the system is configured.

    In some cases, setting set path=somedrive\somepath in the autoexec.bat may work, but then again, it may not. Again this depends on how the system is configured (user rights). For informaiton on the autoexec.bat, look on google or in an old DOS manual.

    To use the Windows method, right click on My Computer and choose Properties (if you have the icon on the desktop) or open the Control Panel (change to classic view) and start System. Change to the panel labled Advanced, then click the button labled Environment Variables, edit the Path in the System Variables section to what you want/need it to be, click OK, OK, OK, to get back out. Any programs started (but not spawned) *after* you made this change will get the new information. So to ensure the new variable information is available system wide, restart the system.

    Your Administrator may restrict your access, so none of this may actually work.

    And finally, this may not actually work for the sendmail for Windows discussed here. As Windows may not pass the right informaiton to the program, resulting in the program not finding its files (such as the ini file). Additionally, it may or may not work, depending on how the sendmail is actually called within the actuall script (a system call means Windows handles it, thus the %PATH% variable is present, a spawn call may not be as 'fortunate').