text: how do....   ? delete a file, what's located on desktop (win98 and xp) with vb script, or isn't it possible? try  if deletefile('c:&#92;documents and settings&#92; name&#92; descktop&#92; filetodelete.txt') then showmessage('file deleted') else  showmessage('file not deleted'); except on e: exception do showmessage('unknowen error'); end; end; hope that will help