Guys,
Try this (you can tell its been a slow morning - what the hell is wrong with MS technical writers? They really don't try hard to make things simple, do they?)
Replace the file and folder with your particular target(s):
code:
break on
$shell = createobject("shell.application")
? @ERROR + " - " + @SERROR
$files = $shell.namespace("C:\").items
? @ERROR + " - " + @SERROR
$file = $files.item("passage.txt")
? @ERROR + " - " + @SERROR
$title = $file.extendedproperty("title")
? @ERROR + " - " + @SERROR
$author = $file.extendedproperty("author")
? @ERROR + " - " + @SERROR
? "Title is " + $title
? "Author is " + $author
:end
Exit
Do I get a vote? Huh?
Hmm...maybe not - afraid you still can't set/edit these properties, read-only at the moment! Sorry!
[ 28 May 2002, 10:09: Message edited by: Breaker ]
_________________________
================================================
Breaker