ZTree.com  | ZEN  | About...  

 Index   Back

[Notice] Ztree Launcher   [Humor]

By: Ian Binnie   Homepage   Sydney  
Date: Mar 21,2006 at 12:57
In Response to: [Notice] Ztree Launcher (Laurent Duchastel)

> As you discovered, a *.bte file is a BTE batch file. With BTEWin installed
> or only with BTEExec.exe with special launch parameters, you can execute a
> *.bte like any other *.bat or *.cmd file. Having an executable is
> optional. Compiling an executable is just internally a matter of copy
> bteexec.exe and appending to it the bte file in one single file.

> The ztreel.bte (or its compiled counterpart ztreel.exe) creates
> automatically the ini file if not found with default parameters.

> BTEWin is freeware and simple to learn.

The documentation is a bit overpowering, but it doesn't look too hard.

> AutoHotkey is similar (freeware
> batch language with compiling option) but I found some things easier to do
> with BTEWin than with AutoHotkey, and I find BTEWin much more easier.
> Does it work now?

No.
I put all my parameters, but 1 in the .ini file, but if I include any in the shortcut to ZTreel.exe it locks up. I guess it is stuck in the ContinueReadSwitches loop.

/? works, so this may not be correct, it could be the %_CMDLINE in:-
ztw.exe %_CMDLINE %%Switches%% /T" %%CONSOLESTRING%%"

Don't panic about fixing it. I will probably have a go myself, if I get time.

Incidentally I was quite impressed.
I had assumed, from the earlier postings, that this was some kind of new shell.
The loader runs, but once it has launched ZTree there is no sign of it (except ZTW.EXE is not running as a process under explorer).

I am mainly using it to set environment variables. It occurs to me that it would be easy to write a dedicated launcher that would load environment variables and spawn ZTree as a Process. (But I don't want to get started on another project.)

1,079 views      
Thread locked
 

Messages in this Thread

 
96,640 Postings in 12,231 Threads, 350 registered users, 55 users online (1 registered, 54 guests)
Index | Admin contact |   Forum Time: Apr 19, 2024 - 9:20 pm UTC  |  Hits:62,926,896  (8,076 Today )
RSS Feed