Proper set-up for a co-existant python 2.6 & 3.1 installation
python at mrabarnett.plus.com
Tue Aug 24 02:16:56 CEST 2010
Martin v. Loewis wrote:
>> When I am logged-in in a session as an administrator, the BAT file on
>> the Desktop, and I double-click on it, it does not work.
> This is not what I meant. Instead, right-click on the BAT file,
> and select "run as administrator".
>> When you say to double-escape the percent signs, do you mean that in
>> my BAT file I should write...
>> FTYPE python.file="C:\Python26\python.exe" "%%1" %%*
>> and the inverted commas around %%*, are they not necessary?
> No, I don't think so.
%1 is the placeholder for parameter 1, which you do want quoted.
%* is the placeholder for all the remaining parameters, which you don't
want quoted as single string.
More information about the Python-list