Steve,

One additional thing...

In your code you have (for example):
code:
IF Exist ("c:\windows\\DESKTOP\TRAKKE~1.PIF") = 0

Shouldn't this be:
code:
IF Exist ("c:\windows\DESKTOP\TRAKKE~1.PIF") = 0

Just noticed that one..

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