popen / batchfile / environment variables

Alex Martelli aleax at aleax.it
Wed Nov 20 04:00:23 EST 2002


Dennis Lee Bieber wrote:

> Trent Mick fed this fish to the penguins on Tuesday 19 November 2002
> 11:40 am:
> 
>> 1. run this:
>>     path_to\vcvars32.bat && devenv solution_file.sln /rebuild
>>     "Release"
>>
>         Does that really work in Windows?

I think it depends on the Windows version you're using -- it should
work with the command processor CMD.EXE (/NT, /2000, and I believe
/XP) but not with COMMAND.COM (/95, /98, /ME).  OTOH, I don't think
Microsoft's .NET develoipment environment supports /95, /98 and /ME.


Alex




More information about the Python-list mailing list