If this script should run as the currently logged on user then something like below should do the trick.

 Code:
Del "Q:\Documents And Settings\" + @USERID + "\documentum\viewed\*.*" /h
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.