From: Benjamin R. <Ben...@ep...> - 2004-08-27 08:50:39
|
Hi Arjen, Arjen Markus <arj...@wl...> writes: > I love tkcon but if I start it from the Windows Start menu, then I > have to move to the directory holding my script first and then > source it (under UNIX/Linux this is of course less of a problem). That seems like a different and more fundamental problem, and at first sight much more interesting to have solved. Others have suggested a search path for scripts before, I think. Another option might be a way to just call a package from the command line. Something like how Java works, where you specify a class and the main() function of that class is called automatically. > I do not like that. Creating batch files to invoke tkcon has other > disadvantages: > > - The need to put some batch file somewhere in the path I don't see that problem? On Unix/Linux you would have to have tkcon and/or your script somewhere in the path, no essential difference there. > - The fact that a DOS box appears and disappears (or not) ?? In which situation? With shortcuts you can just put wish.exe plus parameters into your shortcut, you don't need a batch. With command-line usage, no additional console will appear. benny |