Doc,

You are pretty close.. However, there needs to be detection for Terminal Services like Citrix..

You mentioned:

"%ALLUSERSPROFILE%"

I beleive under Citrix, it is called something like - "%CLIENTPROFILE%".

Hmm.. Time for more digging.

This all stems from my installing XP on my work system.

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