Im new to VBS Scripting, and I was assigned the task of converting our
batch files into VBSScript since we went to Active Directory 6 months
ago.
I can map drives and get a user and group membership (I think). But
what I am stumped at is checking for the existence of a LINKS folder on
the users desktop, and if it isnt there, create it. Then I need to dump
shortcuts and links into it depending on group membership.
In batch, I can use the %userprofile% command (in fact, here is a
snippet of batch that we use...)
Echo Checking Links Folder...
IF NOT EXIST "%userprofile%\desktop\Links" MKDIR
"%userprofile%\desktop\Links"
copy "\\DCSERVER\NETLOGON\LINKS\*.*" "%userprofile%\desktop\Links"
How could I make this into a logon script? This is one of the first
commands I use. Any help would be appreciated. I have looked for a VBS
Snippet on the net (Microsoft, VBSScripting.com and many others) but
could not find this. I can't believe I'm the only one who wants to do
this during login. Seems pretty basic to me that an Admin would want to
do this (at least in a K-12 school environment). Anyway Please help
me...