Hi
I am facing a problem with this script a bit for private share drive. For example I have shared a folder called Backup and underneath I have created subfolders for each user same as their logon name. I have applied read permission on Backup share (both share + NTFS) and subfolder full control to appropriate users (NTFS) for their concerned folder. Now the problem is when the script try to run it give out error message as follow.

The network name cannot be found (67).

Here is the ini file information.
[Private Share]
group=private
drive=P:
share=\\fildserver\Backup\ @userid

It seems like it can’t resolve @userid macro to proper user logon name as when I modify parameter in ini as follow then it worked

[Private Share]
group=private
drive=P:
share=\\fileserver\Backup\dkidd (user login)

I don’t want to use user logon name in ini file instead I want it to resolve @userid macro to get user logon for mapping the drive. I have tried with and without the follow part but the result is same.
$nul = SetOption("NoVarsInStrings","On") ;;; IGNORES VARIABLES THAT ARE INCLUDED IN STRINGS
;$nul = SetOption("NoMacrosInStrings","On") ;;; IGNORES MACROS THAT ARE INCLUDED IN STRINGS
$nul = SetOption("Explicit","On") ;;; REQUIRES ALL VARIABLES TO BE DECLAR

by the way, is there any way to modify the script to show share name to Private share instead of Private share on fileserver for mapped drive on client machine.

I hope someone can help me with these two issues.

Thanks