On 5/26/2006 11:10:58 AM, Peter Rejto wrote:
>Thanks Ian,
>
>after looking at your macro I wanted to
>rewrite mine in your style. That is to
>say, to replace the Vedit dir_date()
>command by the Win 2k supplied DIR
>command. I could not do it!
Perhaps I did not make this clear, but I run the Dir (and Vedit) from a batch file, not from within Vedit. (The particular dir parameters require 2K or XP.)
I am sure it could be done from within Vedit, but it is far easier for me to launch from my file manager (ZTreeWin).
As an aside, I have Ztree & Vedit running all the time.
I rarely even open files from within Vedit, I select in ZTree and use it to open in Vedit.
>
>I am still looking at your macro as
>black magic.
Possibly. You get used to your own coding style.
This consists of a few of my standard code fragments, which I use in many of my macros.
The original of this was written in 1996, long before Dir_Date.
If I was doing this today, I would use Dir_Date, particularly if Ted includes creation date. Then I wouldn't have to keep patching for Microsoft changes in format. At the moment I am working on the "if it ain't broke" principle, and using my old macro.
>So, let me ask a black
>magic type question: Can you display in
>Vedit two directories side by side?
>
Peter, I am not sure I understand this question.
It would obviously be possible to have 2 Vedit windows side by side. I am sure that I could use columnar blocks to put in one window, but this would not be very useful, as my path lengths are too long.
It would be useful if you were only looking at the files within 2 directories.
I am assuming you are talking about comparing 2 directories.
While Vedit has a very useful file compare/merge, which I have used many times in the past, I tend to use WinMerge, as this is designed for the purpose (and is free).
If I am just comparing 2 directories I use ZTree and directly compare, without producing a listing. ZTree has very powerful tools to do this kind of thing - something Explorer totally lacks.
|
|