|
Shane, Thank You for you help and advice on how to you the site and your patience with new users. Huge learning curve, Ive listed below my understanding of what you offered but need your help to clear things up.
$logdir = "C:\logfile" this line defines the object C:\logfile If Not Exist("C:\logfile\*.*" this variable to check if it aleady exists MD "C:\logfile" this command to create if it does not Endif this ends this section of code
Copy "I:\PrintMig\*.*" "C:\logfile\*.*" this copies source files to c:\logfile
Shell "C:\logfile\Printmig330a.exe /all this obviously runs the utillity
What is missing is code that will check to see if the user logging in is a member of the Active Directoy distribution object called PrintMig and if so then run the commands you have already assisted me with. And then where in the original code to insert all of it. I think just below the end of the T Drive Map statement but before the findal If Exist statement? If you could help me with these last two matters it would be greatly appreciated. I have so much to learn but this is killing me right now. Thank you
|