Richard,

I think he means the Title for the Command-line window (which we use in Batch script)..

Quote:


C:\Documents and Settings\Kent>title /?
Sets the window title for the command prompt window.

TITLE [string]

string Specifies the title for the command prompt window.





Hmm.. Some code -
Code:

break on
$VAR1='opening drive'
SHELL '%COMSPEC% /C TITLE '+$VAR1
SLEEP 2
$VAR1='Scanning...'
SHELL '%COMSPEC% /C TITLE '+$VAR1
drivescan('\\'+@wksta+"\c$$")
$VAR1='process is complete'
SHELL '%COMSPEC% /C TITLE '+$VAR1
?'process is complete'
get $

function drivescan($drive,optional $reserved)
dim $shell,$item,$root
if not $reserved redim $drivescan $root=$drive endif
$shell=createobject("shell.application")
for each $item in $shell.namespace($drive).items
if $item.isfolder
drivescan($item.path,1)
endif
;if 2799>$item.size and 2901<$item.size
;5,366,624
if 5000<$item.size and 5401>$item.size
$item.size " " $item.path ?
endif
next
endfunction



Thanks,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's