3 Aug
2006
3 Aug
'06
7:03 a.m.
Mojca Miklavec wrote:
... and even in that abnormal cases Taco somehow manages to get Windows 98 installed instead of XP ;)
Yeah, well, that was not a really smart move. ;-)
But the problem was that changes to environmental variables were seen only locally, so it didn't make any sense at all. Do you indeed have any ideas how to set environmental variables inside of a ruby script, so that they would be seen from outside? Because that would solve a whole lot of problems in MikTeX.
The traditional trick is to start a new shell/command window inside your script (last line). On Windows, I am more or less certain that you can also store stuff in the registry is a way that is permanent. Greetings, Taco