Jump to content

Remote File backup and replacement


Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...