Batch file

BeownReclise is a programmable web spider. Scan a web site and retrieve from it the information you need. You could scan a Real Estate web site and collect all of the agent addresses, phone numbers and emails, and place all this data into a tab delimited database file. Then import this data in your Excel application for example.
Post Reply
gauguy
Posts: 3
Joined: Tue Oct 16, 2018 11:22 am

Batch file

Post by gauguy » Tue Oct 16, 2018 11:31 am

How to request the execution of a program.
Which switch

cmd

CALL BrownRecluse.exe test.brp

CALL BrownRecluse.exe ???? test.brp

CALL BrownRecluse.exe \n???? test.brp

User avatar
Support
Site Admin
Posts: 1791
Joined: Sun Oct 02, 2011 10:49 am

Re: Batch file

Post by Support » Tue Oct 16, 2018 12:36 pm

simply run the .brp file as oppose to the BrownRecluse.exe, the same way you'd run a .txt file which open the Notepad.

for a command propmpt or a batch file, do not include the word CALL , simply use "BrownRecluse.exe test.brp" or "test.brp" alone.

At the beginning of your script, you need to include this...

Initialize(AutoRunOnOpen,ExitOnFinish);

to run the script when BR opens it and to exit BrownRecluse when the script is done running.
Your support team.
http://SoftByteLabs.com

gauguy
Posts: 3
Joined: Tue Oct 16, 2018 11:22 am

Re: Batch file

Post by gauguy » Wed Oct 17, 2018 10:25 am

Thank you, everything is ok

gauguy
Posts: 3
Joined: Tue Oct 16, 2018 11:22 am

Re: Batch file

Post by gauguy » Wed Oct 17, 2018 10:32 am

Solution:

CALL "c:\Program Files (x86)\SoftByte Labs\BrownRecluse\BrownRecluse.exe" d:\D\Canada411\BrownResclude\BrownRecluse-1001.brp
pause

-------------------------------------------------------------------------------------------------
Initialize(AutoRunOnOpen,ExitOnFinish, CloseOnFinish);
Output.Clear;
DecodeDate(Date, [xAn, xMois, xJour, xHeures, xMinutes, xSecondes], [year, Month, Day, hour, minute, second ]);
// output((xHeures * 3600) + (xMinutes * 60) + xSecondes);

Link = New(URL);
F = New(File);

Path = 'd:\d\canada411\Canada411\450\1001-Anna-Laberge\';

FcParam = New(File);
Tempo = Path + '_1001VilleNoms.txt';
FcParam.Open();

if not FcParam.Open(Tempo) then
Output('Erreur ouverture fichier ' + #13 +#10 + Tempo);

User avatar
Support
Site Admin
Posts: 1791
Joined: Sun Oct 02, 2011 10:49 am

Re: Batch file

Post by Support » Fri Oct 19, 2018 2:44 pm

perfect :)
Your support team.
http://SoftByteLabs.com

RaulTug
Posts: 1
Joined: Fri May 03, 2019 9:33 am
Location: Mauritius
Contact:

Batch file

Post by RaulTug » Mon May 20, 2019 2:11 pm

HI,

I receive a word document with a lot of embedded file in it. For example, excel file, word file, ppt file. Now I have to open it and then save it one by one. Is there any quick way to batch save them all into my computer?

Thanks in advance.

User avatar
Support
Site Admin
Posts: 1791
Joined: Sun Oct 02, 2011 10:49 am

Re: Batch file

Post by Support » Mon May 20, 2019 2:39 pm

Perhaps this link will help you do this...

https://www.howtogeek.com/50628/easily- ... -document/
Your support team.
http://SoftByteLabs.com

Post Reply