Hi Charles, Charles Gargent wrote: > try %WINDIR%
I think %windir% has been used in pre-Windows NT times while starting from Windows NT %SystemRoot% has been introduced. Have a look at HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment and you will find windir to point at %SystemRoot%. So if you're running Windows NT or newer (2000, XP, Vista, 7) I recommend using the built-in %SystemRoot% variable. I did not find an official statement but the usage of %windir% on modern Windows systems might be deprecated. br, Rainer ------------------------------------------------------------------------- wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/ _______________________________________________ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users