Windows Vista Forums

Help with script

  1. #1


    Gavin Guest

    Help with script

    Hello,

    I need help with a script, what I would like it to do is scan though a share
    look for a particular file, copy the file and rename it to the name of the
    computer that it was on... for example the file is acb123.txt ... search for
    that file and then once it is found rename it to computer1acb123.txt... any
    help would be appreaciated.

    Thanks
    Gavin...


      My System SpecsSystem Spec

  2.   


  3. #2


    Bob Bridges Guest

    RE: Help with script

    Hey, Gavin. What have you attempted so far? My guess, from your post, is
    "nothing" - you've never written a VBS script before and you're starting from
    scratch. Nothing wrong with that, but it calls for a different answer than
    if you're fairly experienced and just need a hint. So fill us in, please,
    and let us know how much you know so far.

    --- "Gavin" wrote:

    > I need help with a script, what I would like it to do is scan though a share
    > look for a particular file, copy the file and rename it to the name of the
    > computer that it was on... for example the file is acb123.txt ... search for
    > that file and then once it is found rename it to computer1acb123.txt... any
    > help would be appreaciated.

      My System SpecsSystem Spec


Help with script
Similar Threads
Thread Forum
Logon Script Causing Laptops To Hang - Problems in script? VB Script
problem passing args to script 'There is no script engine for file extenstion' VB Script
Include another script, keep variables in included script? PowerShell
Script file has 'OS Handle' error when run from script PowerShell
Can you drag-n-drop a file on top of a PS script to run the script? PowerShell