I've had the ongoing issue of slowness in my loginscript when using the SET cmd. It takes our WinXP SP2 machines 7-8 seconds just to set 8 environment vars. I've tried to use %COMSPEC% instead but there are no results at all when using it to call the native SET in DOS.

I've run additional tests like the one below and it takes alot of time to run. This one takes average 12 seconds which is just waaaay to long:

Set 'UID=MP060096'
Set 'UID1=MP060096'
Set 'UID2=MP060096'
Set 'UID3=MP060096'
Set 'UID4=MP060096'
Set 'UID5=MP060096'
Set 'UID7=MP060096'
Set 'UID8=MP060096'
Set 'UID9=MP060096'
Set 'UID10=MP060096'
Set 'UID11=MP060096'
Set 'UID12=MP060096'
Set 'UID13=MP060096'
Set 'UID14=MP060096'

Anyone else experiencing this or have a workaround?

TIA!