Jump to content

Recommended Posts

Posted

Hello

I want my computer to connect to a remote computer on a domain and

1. stop a service

2. zip the existing file

3. copy the new file from my computer to the remote computer and replace the existing file

4.start the service back.

I need to upgrade software on remote computers and I cant find a example script to help.

Thanks

Posted

Search the help file for Run() and use net stop "<service>" and net start "<service>" to start and stop services respectively, search the forum for examples automating 7-zip, search the forum for chat servers/clients with file transfer (for the remote file copy part) and lash them together. Post your attempts if you need help.

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...