round2it Posted August 31, 2017 Posted August 31, 2017 Due to being really pushed for time could someone knock up a batch file to do the following 1 copy ssmypic.scr to the c:\windows\system32 folder file will be stored in the netlogon folder 2 copy a folder of images from the netlogon folder 3 add a .reg file to the registry file will be stored in the netlogon folder 3 if the files have been copied already then just quit the batch I know this is really cheeky but I need to push out this damb screensaver to the whole school before Monday. any help would be appretiated
DJ-1701 Posted August 31, 2017 Posted August 31, 2017 (edited) You are right, that is lazy. if exist C:\Windows\System32\SSMyPic.scr Goto End xcopy \\DOMAIN\netlogon\FOLDER C:\LOCALFOLDER copy \\DOMAIN\netlogon\SSMyPic.scr C:\Windows\System32\SSMyPic.scr regedit /s REGFILEHERE.reg :End Edited August 31, 2017 by DJ-1701 2
round2it Posted August 31, 2017 Author Posted August 31, 2017 i have a million jobs to complete and this one was pushed on me late I will give it a go thanks 1
round2it Posted August 31, 2017 Author Posted August 31, 2017 Thanks for the script it worked perfectly it did exactly what I needed rep given 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now