[Python-Dev] Why does the Windows installer use the shortname
formof the install directory?
Christian Tismer
tismer@tismer.com
Sat, 12 Oct 2002 04:32:30 -0700
Tim Peters wrote:
> [Moore, Paul]
>
>>...
>>That's fair enough. And it's not major enough that I'm pushing
>>for anyone to waste time on it. I just thought I'd mention it in
>>case it was a simple change to a checkbox, or something.
>
>
> It *almost* is a checkbox! In WISE's idea of "a scripting language", the
> relevant line looks like this:
>
> Set Variable MAINDIR to %MAINDIR%
>
> There's not a visible clue that this isn't a no-op. If you double-click on
> the line in the WISE GUI, though, a dialog box pops up, with a dropdown list
> labeled "Operation", one of whose entries is
>
> Convert to short filename
>
> There isn't another variant that adds "but only if it contains a space".
The F1 key gives you a regular windows help file, as I
remember.
And you can surround the
Convert to short filename
thing with an if contruct that checks for a space, something like
If MAINDIR Contains " " then
# here the Convert thingie
End
ciao - chris
p.s.: The whol script is in ASCII. I used to generate scripts
from WISE templates which I've written once.
--
Christian Tismer :^) <mailto:tismer@tismer.com>
Mission Impossible 5oftware : Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9a : *Starship* http://starship.python.net/
14109 Berlin : PGP key -> http://wwwkeys.pgp.net/
work +49 30 89 09 53 34 home +49 30 802 86 56 pager +49 173 24 18 776
PGP 0x57F3BF04 9064 F4E1 D754 C2FF 1619 305B C09C 5A3B 57F3 BF04
whom do you want to sponsor today? http://www.stackless.com/