every1isevil2
asked on
Creat script to perform a task.
I have a few simple requirements that I know can be accomplished using either VB or WSH.
I need a script to run from each workstation and perform the following:
1. Create a new folder on the server share \\student-srv1\LabBackup\< MachineNam e>
2. Copy of the "C:\Documents and Settings" folder and deposit this into the folder \\student-srv1\LabBackup\< MachineNam e>
So for example if the script were run and completed on machine named "LabPC-213":
-A folder called "LabPC-213" would be created with the path \\student-srv1\LabBackup\L abPC-213
-The folder "Documents and Settings" from LabPC-213 would be copied into the folder LabPC-213 on \\student-srv1\LabBackup\ leaving \\student-srv1\LabBackup\L abPC-213\D ocuments and Settings
I need a script to run from each workstation and perform the following:
1. Create a new folder on the server share \\student-srv1\LabBackup\<
2. Copy of the "C:\Documents and Settings" folder and deposit this into the folder \\student-srv1\LabBackup\<
So for example if the script were run and completed on machine named "LabPC-213":
-A folder called "LabPC-213" would be created with the path \\student-srv1\LabBackup\L
-The folder "Documents and Settings" from LabPC-213 would be copied into the folder LabPC-213 on \\student-srv1\LabBackup\ leaving \\student-srv1\LabBackup\L
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If that script worked for you why are you closing the question without awarding points? I didn't see anything in your modifications that would make any difference in how the script runs.
ASKER
Open in new window