Go Back   Scooter Forums > Beyond Compare 3 Discussion > Scripting
Register FAQ Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 16-Dec-2011, 12:13 AM
mike235 mike235 is offline
Visitor
 
Join Date: Dec 2011
Posts: 4
Question How to pass ftp address using WSH ?

Hey guys,

We have requirement to run BeyondComparer from the client, ( our intranet application is developed on asp.net web forms ), while I can run the Beyond Comparer using WSH, I don't see the way, how can I pass ftp address to it. Anybody can help me out ?

Thanks beforehand,
Mike
Reply With Quote
  #2  
Old 16-Dec-2011, 08:25 AM
Aaron Aaron is offline
Team Scooter
 
Join Date: Oct 2007
Location: Madison, WI
Posts: 5,430
Default

Hello,

Are you running Beyond Compare script (from the command line) using Windows Script Host?
For example: bcompare.exe "@c:\bcscript.txt" ?

You can pass additional parameters along the command line, such as:
bcompare.exe "@c:\bcscript.txt" "ftp://ip/folder/" "c:\folder\"

then in the bcscript.txt, refer to them by %1, %2, %3, etc.
load %2 %1
expand all
folder-report layout:side-by-side output-to:"c:\bcreport.txt"

We have detailed documentation about this in the Help file, in the Using Beyond Compare -> Automating with Script (top level chapter).

Please let us know if you have any questions.
__________________
Aaron P Scooter Software
Reply With Quote
Reply

Tags
ftp, wsh

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 06:50 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.