SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Apr 2011
    Posts
    27
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    How to copy the batch file to the different IP ad

    Hi,
    I created a batch file and run that batch file everyday after the modifications in the script
    How can i run the batch file from my system and copy the modifications in to different systems(Different IPs)
    Please provide the code for create the batch file with above scenario
    Please find the scenario
    My system
    1 2 3 4 5 6
    I want to run the batch file from my system and the modifications should be updated in the 6 systems
    Here i want to use the IP addresses for all the 6 systems
    Please provide the code for creating the batch file for the above scenario

  2. #2
    Senior Member
    Join Date
    Jan 2010
    Location
    Poznań, Poland
    Posts
    188
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to copy the batch file to the different IP ad

    I don't know if I understood it but shouldn't you use some version control system like SVN, CVS, Git ?

    Make modification on one system, commit changes and then check out on the rest systems?
    regards,
    Lukasz Morawski, QA Engineer
    Cognifide testing blog
    PTaQ

  3. #3
    Junior Member
    Join Date
    Apr 2011
    Posts
    27
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to copy the batch file to the different IP ad

    Need to run the batchfile from my system,but how can i add the IP addresses of the other systems to my batchfile
    I need to coppy the modifications to the other systems with the help of IPs

    Regards
    Uma

  4. #4
    Senior Member
    Join Date
    Aug 2006
    Posts
    1,920
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to copy the batch file to the different IP ad

    Hi,

    Use network shares if you want to copy something to a remote machine in your network.
    Jared - AQA Support

  5. #5
    Junior Member
    Join Date
    Apr 2011
    Posts
    27
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to copy the batch file to the different IP ad

    I created a batch file with the bellow script
    @echo off
    echo Hello this is a testcomplete batch file
    pause
    \\10.55.38.108\---\--\---\CAutomation.pjs /quiet /norestart
    copy"\\10.55.38.108\---\--\---\Automation.pjs""\\10.55.38.139\--\--\----\Automation.pjs /quiet /norestart"


    I did the modifications in 10.55.38.108 system and want to push the updates by using copy command to 10.55.38.139
    But those updates are not copying
    please help

  6. #6
    Senior Member
    Join Date
    Aug 2006
    Posts
    1,920
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to copy the batch file to the different IP ad

    Hi,

    This request is not related to TestComplete. I recommend that you contact your system administrator or refer to help files shipped with Windows. Check your share settings and copy command's documentation.
    Jared - AQA Support

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.71%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 12:09 AM.

Copyright BetaSoft Inc.