Possible to update a file for all w2k servers via script?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • nek

    Possible to update a file for all w2k servers via script?

    Seasons greetings,

    Platform is W2K SP4, DB2 V8.1 FP2.

    A few days ago I posted the question to globally 'update db cfg' for
    all servers which could be done via a script thanks to Ian and PM's
    responses.

    I would like to do the same to a file containing plain text that
    exists on ALL W2K servers which are of identical h/w configuration.

    eg. d:\file_to_be_u pdated.txt

    Is it possible, via a script, to connect to all servers and update
    this file?

    Many Thanks...
  • Ian

    #2
    Re: Possible to update a file for all w2k servers via script?

    nek wrote:[color=blue]
    > Seasons greetings,
    >
    > Platform is W2K SP4, DB2 V8.1 FP2.
    >
    > A few days ago I posted the question to globally 'update db cfg' for
    > all servers which could be done via a script thanks to Ian and PM's
    > responses.
    >
    > I would like to do the same to a file containing plain text that
    > exists on ALL W2K servers which are of identical h/w configuration.
    >
    > eg. d:\file_to_be_u pdated.txt
    >[/color]

    If you have appropriate NT authority, you should be able to:

    copy file_to_be_upda ted.txt \\server1\d$\fi le_to_be_update d.txt
    copy file_to_be_upda ted.txt \\server2\d$\fi le_to_be_update d.txt
    ....


    (Note that Windows automatically creates a hidden share for each
    drive on the system named C$, D$, etc)


    Good luck,




    -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
    http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
    -----== Over 100,000 Newsgroups - 19 Different Servers! =-----

    Comment

    • nek

      #3
      Re: Possible to update a file for all w2k servers via script?

      Brilliant! I was able to update the file for most servers (failed to
      update a few servers due to other reasons) in one hit!

      Thank you again Ian.

      Ian <ianbjor@mobile audio.com> wrote in message news:<3fe71287$ 1_1@corp.newsgr oups.com>...[color=blue]
      > nek wrote:[color=green]
      > > Seasons greetings,
      > >
      > > Platform is W2K SP4, DB2 V8.1 FP2.
      > >
      > > A few days ago I posted the question to globally 'update db cfg' for
      > > all servers which could be done via a script thanks to Ian and PM's
      > > responses.
      > >
      > > I would like to do the same to a file containing plain text that
      > > exists on ALL W2K servers which are of identical h/w configuration.
      > >
      > > eg. d:\file_to_be_u pdated.txt
      > >[/color]
      >
      > If you have appropriate NT authority, you should be able to:
      >
      > copy file_to_be_upda ted.txt \\server1\d$\fi le_to_be_update d.txt
      > copy file_to_be_upda ted.txt \\server2\d$\fi le_to_be_update d.txt
      > ...
      >
      >
      > (Note that Windows automatically creates a hidden share for each
      > drive on the system named C$, D$, etc)
      >
      >
      > Good luck,
      >
      >
      >
      >
      > -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
      > http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
      > -----== Over 100,000 Newsgroups - 19 Different Servers! =-----[/color]

      Comment

      Working...