Jump to content

Lazy Need a Quick script for new screensaver files to be copied


Recommended Posts

Posted

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

Posted (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 by DJ-1701
  • Thanks 2

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...