Cary,

Please - it is KiXtart!

Instead of -
code:
USE P: "\\SERVER01\Scans" + @USERID

You will want -
code:
USE P: "\\SERVER01\Scans\" + @USERID

Note: The extra backslash.

If it is an Admin share, you may need extra "$$" for it.

HTH,

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