Windows – Where could I find the setenv.cmd

windows

Trying to build emerge(http://techbase.kde.org/Getting_Started/Build/Windows/emerge) with vc2008 expression, when I type "kdeenv.bat", the command prompt tell me that

'"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\SetEnv.cmd"' is not recognized as an internal or external command,
operable program or batch file.
call "C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\SetEnv.cmd" /x86

After I navigate to the folder(C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin), I find out that there is no "setenv.cmd". Where could I get this file?

PS: what I really need is the library of openldap; this post suggests emerge

Best Answer

Check this link.

Or you can write your own version of SetEnv.cmd and save it at C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\SetEnv.cmd. You can google for SetEnv.cmd script.