Script to automate this task?


  1. Posts : 53
    Windows 7 64 bit
       #1

    Script to automate this task?


    Hello all,

    Sorry if this is in the wrong place, I wasn't sure where it should be, so excuse me if I'm incorrect.

    I have a task that needs to be performed today. We are changing a .txt file on multiple computers (about 10) for a program we have. I was planning on just \\xxx.xxx.xxx.xxx\c$ into each one individually and changing it in the proper folder. Is there a way I can create a batch file to do this? I already placed the file in the directory, and just need to overwrite the old file with the new one, and re name the old one in case anything goes wrong. (new.txt overwrites script.txt, change script.txt to oldscript.txt). Let me know if you can help, just looking to make life easier and learn something on a Friday night, thanks.
      My Computer


  2. Posts : 721
    Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
       #2

    Hi,
    AGame20 said:
    I have a task that needs to be performed today.
    Are you still after a script for this, despite it no longer being 'today'? The task is very do-able with batch.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 12:49.
Find Us