Creating a .bat script to move files

Discussion in 'Scripts' started by Jsy, Aug 5, 2012.

  1. #1
    Hi guys,

    I have a Windows 2008 server that needs to push out two files to all the other computers in their C drive. Considering this is my first .bat script is this the correct code?

    move C:\test.txt C:\test.txt

    or do I need something more elaborate? I do plan on pushing this out as a logon script.

    Thanks!
     
    Jsy, Aug 5, 2012 IP
  2. waqascheema

    waqascheema Member

    Messages:
    64
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #2
    have you got this or still looking ans ... ;)
     
    waqascheema, Aug 10, 2012 IP
  3. Jsy

    Jsy Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I got the answer of No you can't do this or No it isn't logical to push out files from the server. Not unless it is created given to the user to click on to grab the files.

    Thanks for asking.
     
    Jsy, Aug 10, 2012 IP