With the help of some of you, I was able to create exactly what I needed. But like always, they have decided to change the way it is written. I need a VB script that will check to see if the person is apart of a group membership and if they are the program will look at a file that will be manualy updated or it could write a file with the date somewhere. If the date is more current then it will prompt the user to enter the usb key and hit okay, search for a removeable usb drive and copy all the files that are more current from the hard coded directory to the root of the usb device. The code is the snippet box is my original code. I have created some new code for this project but I do require some help.
If (IsMember(objUser, "TEST") = True) Then
@REM This batch file will find the removable drive letter. It will then copy a file from the specified path and put it on the root of the removable drive.
@REM The file is update to the removable drive by date.
for /f "tokens=1-3" %%a in ('wmic logicaldisk get caption^, description') do if "%%b %%c"=="Removable Disk" set drive=%%a&goto FOUND
echo Couldn't detect removable drive
echo Removable drive letter is %drive%
xcopy "X:\Information Technology\test\*.*" "%drive%\" /C/E/H/R/K/D/M/Y