Posted by member 71746 on 2003-11-23 16:57:42 link

This won't be a static label.

Someone requested a command-line-based theme, so I'm making a theme that has a desktop as a command-prompt... lsxcommand as the bottom line, with aliases defined for dir/ls, copy/move/mv, del/rm, deltree/rmdir, etc (standard console operations) to call bangs defined by filemaster.dll which I'll have to modify a bit to add the deltree command and some others).
Every line except the lsxcommand line will be part of the label.

When someone types in "dir" as an lsxcommand, I'd like to put a directory listing of the current working dir into the label, and push all the former contents of the label up. If it's a particularly long directory listing, that's where the scrollbars come in (or just for the sake of having a log of your session, even if it's not written to a file)

Quick question: Does anyone know if there's an easy way to dump a directory listing into a label? (It'd be cool if there was something like [dirList=c:\progra~1] or something like that..