Amend Bat file for students
Hi, I'm new to all this techie stuff but I have to learn fast so I'm hoping some can offer some advise on a minor problem I have currently.
I have a .Bat file that needs to be changed to allow certain students to have access a folder on the C drive.
Now I haven't got a clue to write so can someone please explain what I need to do; I've placed the current .bat file below.
REM ** DEFAULT STUDENT USER PROFILE **
net use /persistent:no >nul
net use h: /home
net use p: \\server1\allusers
Rem *** Printer Conections *****
Rem *** to connect only local Printer ****
Con2prt /f >nul
if NOT EXIST c:\A4.PC goto A5
con2prt /cd "\\server1\A4"
if NOT EXIST c:\A5.PC goto A6
con2prt /cd "\\server1\A5"
if NOT EXIST c:\A6.PC goto A9
con2prt /cd "\\server1\A6"
if NOT EXIST c:\A9.PC goto B23
con2prt /cd "\\server1\A9"
if NOT EXIST c:\B23.PC goto C31
con2prt /cd "\\server1\B23"
if NOT EXIST c:\C30.PC goto C40
con2prt /cd "\\server1\C30"
if NOT EXIST c:\C40.PC goto Library
con2prt /cd "\\server1\C40"
if NOT EXIST c:\Library.PC goto Design
con2prt /cd "\\server1\library"
if NOT EXIST c:\Design.PC goto Resource
con2prt /cd "\\server1\Design_Tech"
if NOT EXIST c:\resource.PC goto English
con2prt /cd "\\server1\Resource_Centre"
if NOT EXIST c:\A10.PC goto printerOK
con2prt /cd "\\server1\English"
All I need is for certain users called 'artmovies' to have access to the following path: c:\Program Files\Adobe\Adobe Premiere Elements 8.0\
I also need them to have access to the P Drive and lastly is it possible for the script to only work on certain machines called 'art1', 'art2', 'art3' etc.
Thanks in advance