On Wed, May 25, 2011 at 8:09 PM, Rainer Meier <r.me...@wpkg.org> wrote:
> Hi Mikhail,

> Note: Unfortunately Microsoft has decided to name the folders differently for
> different language editions. So you need to detect the correct locations. The
> script will support English an German but you can easily extend it to 
> recognize
> more languages if you have more.

The answer to this is CSIDL
(http://msdn.microsoft.com/en-us/library/bb762494%28v=vs.85%29.aspx),
which of course had to be replaced by somthing else with windows vista
or older and now it is called KNOWNFOLDERID
(http://msdn.microsoft.com/en-us/library/dd378457%28v=VS.85%29.aspx).
Yes, this is called progress :)

Unfortunately, you cannot use this from batch scripting (I usually do
this from Perl with the Win32::GetFolderPath() function).

-- 
natxo
-------------------------------------------------------------------------
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

Reply via email to