DUGrid scans the selected drive or directory and reports any drive or directory containing more total file space used than the set threshold. It shows the number of files, total space used, the date of the oldest file and the date of the newest file.
A left double click on any of the displayed lines displays the selected drive or directory in IE. If IE is already running, each double click will update the existing IE window. If IE is not running, each click will start a new instance of IE displaying the selected drive or directory.
A IE? button is provided to start IE manually.
Put dmdde.ijs in ~User\projects\DDE\. dugrid.ijs can be put where you like it.
- Uses 601 grid.
- Recursive directory scan.
- Uses WinXP Directory Browser.
- Uses DDE to send commands to Windows Internet Explorer.
- Uses launch verb to start the J default browser if IE is not running or communicating.
- Add a print button to print the sorted grid information.
- Add additional form/grid/embedded browser for file display to eliminate the need for IE.
Instead of DDE you could use browser.ijs which works on all platforms. For file paths, it opens shell in place of the web browser.
require jpath '~system\extras\util\browser.ijs' launch_jbrowser_ 'c:\'
-- OlegKobchenko 2006-07-06 03:53:11
- One nicety of DDE is that it re-uses the same window for successive directory lists. I find it helpful to only have to arrange the browsing window once. It would be nice if IE (or other browsers) offered parameters to place the window at specific coordinates. Using a J window with a grid (or embedded browser) is probably the easiest way to get complete control over things like window placement and sizing.
I believe it would be clearer if at the parent page it is referred to as du rather than DU. -- OlegKobchenko 2006-08-12 03:30:01