Am Sunday 22 August 2010 schrieb David Cole:
> I do something like this in a batch file to guarantee running 32-bit from a
> 64-bit command prompt:
> 
> @rem  Workaround allows msys/cygwin rxvt to run on Windows x64
> 
> @rem    (SysWOW64\cmd.exe runs as 32-bit)
> 
> @rem
> 
> @if "%PROCESSOR_ARCHITECTURE%" equ "AMD64" (
> 
>   @"%WINDIR%\SysWOW64\cmd.exe" /c ""%~f0" %*"
> 
>   @exit /b 0
> 
> )

You know about "@echo off"? That saves the @ before every line.

Eike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to