Help with beginner script/batch file to rename Program File?
Hi folks - despite all the related topics and some time Googling, I'm still really at a loss writing a script (or maybe even a batch file?) to rename a folder on client machines.
I'd like to set a startup script through GP to rename a folder (eg C:\Program Files\sausages) if it finds on the client machine.
I tried (please don't laugh... too hard...) the following:
if exist "c:\Program Files\sausages.gone" goto :EOF
if exist "c:\Program Files\sausages.com" rename "c:\Program Files\sausages.com" sausages.gone
@echo Job Run
Literally no idea what I'm doing. And do I go with vbs script or batch file for this you think?
Any help greatly appreciated.
And no there's no sausages on the network.