if you have problem with the macro @scriptdir, you can try the following piece of code
 Code:
if @LogonMode
	$scriptdir = %LOGONSERVER%+"\Netlogon"
else
	$scriptdir = @Scriptdir
endif

"scriptdir : " $scriptdir ?

During login script, the script already loads sub-script from netlogon.
If launched interactively, it loads sub-script from the directory of the script itself.


Edited by ChristopheM (2014-10-22 01:41 PM)
_________________________
Christophe