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
Batch file
Re: Batch file
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.
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.
https://SoftByteLabs.com
https://SoftByteLabs.com
Re: Batch file
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);
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);