Beat me to it by a second or two.

I've just tested this on NT4 workstation

You can get away with just removing the word "run" so the following line of code works nicely.

code:
WriteValue ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce", "OutlookSettings","\\Server1\outlook2000$\OutlookSettings.bat", "REG_SZ" ) 

Hope that helps,

_________________________
Fluke! Don't take life too seriously... it ain't permanent! Attributed to Joe Pearlstein.