|
By all means do have a look at INCLUDE, as it will greatly reduce the number of network roundtrips in your logonscript. In your current script, CALL has to read every sub-script from the network. Using INCLUDE, you can reduce this to a single read of the entire logonscript.
Having said that, the sample code in your report should definitely work fine. It's indeed a good idea to check for mismatched quotes as well as check @ERROR and the eventlog.
Regards,
Ruud
|