File: XTree:\Forum archive |Bottom_of_page

| View Thread | Return to Index | Read Prev Msg | Read Next Msg |

XTree Forum archive

Re: Modifying the "PRUNE" confirmation - also in ZTreeWin!!

Posted By: Mathias <>
Date: Tuesday, 9 June 1998, at 4:31 a.m.

In Response To: Modifying the "PRUNE" confirmation (Peter Wong)

> The PRUNE command requires the word P-R-U-N-E- to be typed
> in to confirm. I found that one typing error, and then I had to
> start again. So I patched Xtree (v3.01) to simplify the confirm
> command to the word O-K (no carriage-return required).

As I recently figured out, you can also do this with ZTreeWin !!
- *except* for omitting the requirement for ENTER; in ZTreeWin this can't be avoided (at least not by simply hacking it...)

> How to:
> Edit the 6 bits at address 1A980h (for version 3.01) for XTG.EXE

In ZTreeWin (current 1.32f version) this is adress 4AD88h
And it's just 5 bytes to be edited (because there is no closing 0Dh (CR) that may be changed).

> (just search for the word PRUNE while in hex edit mode).

The other occurences of the word "PRUNE" are needed for display purposes (if they are followed by a ":" colon) and do not necessarily have to be changed.

> Change the command to whatever you want.
> Overwriting the superfluous characters

You can also edit the term "PRUNE" to just a "Y", for instance...

Warning! - make sure:

- Always make a backup-copy of ztw.exe first, to ensure you can return to the default version, if anything goes wrong!!!!

- Do not edit the active ztw.exe file (in the ZTree directory) with ZTree itself (rather edit a copy or use another editor)!!


Messages in This Thread

| View Thread | Return to Index | Read Prev Msg | Read Next Msg |

XTree Forum archive is maintained by Mathias Winkler with WebBBS 3.21.

Xtree and XtreeGold are registered trademarks of Symantec Inc.
Other brands and products are trademarks of their respective holders.

FILE COMMANDS:  Directory_view Previous_file   Next_file cuRrent   /Help |Top_of_page