Various projects in a batch file

Post your new features ideas and suggestions here.
Post Reply
Tempman

Various projects in a batch file

Post by Tempman »

Hello,
I have a file with various projects, for using it in windows task scheduler. I have:

@echo off
C:\path_to_winsin\winsin.exe /P=X /I /auto
C:\path_to_winsin\winsin.exe /P=Y /I /auto
C:\path_to_winsin\winsin.exe /P=Z /I /auto

But when I run the batch file, it only runs the last project ... :-? What I do wrong? Thanks beforehand.

Cheers...

grigsoft
Site Admin
Posts: 1673
Joined: Tue Sep 23, 2003 7:37 pm
Contact:

Post by grigsoft »

Try using this form:
start /w winsin.exe....
start /w winsin.exe....
It will start applications one by one, not all at the same time.

Tempman

Post by Tempman »

It follows on running the last project :-(
Another idea? Thanks beforehand.

Cheers...

grigsoft
Site Admin
Posts: 1673
Joined: Tue Sep 23, 2003 7:37 pm
Contact:

Post by grigsoft »

Hm, I have just tried that and it worked. How does currently your .bat look like?

Tempman

Post by Tempman »

Hi,
uhm I've seen that when I call to winsin.exe (using P=project_name), he only runs the project that it is loaded in winsin.exe. Do you understand me? For example, in my batch file I have various lines with winsin.exe and with different projects, but when I run the batch file, he only runs the project that is loaded in winsin.exe ...
Is it a bug? Or can I put a file config like parameter in winsin.exe?
Thanks beforehand.

Cheers...

grigsoft
Site Admin
Posts: 1673
Joined: Tue Sep 23, 2003 7:37 pm
Contact:

Post by grigsoft »

Oh, yes there is a bug here, probably you have hit it. Try using same syntax without /p=, just by
winsin.exe ProjectName

Tempman

Post by Tempman »

Hello,
thank you very much, it works correctly now.
Thanks again grigsoft.

Cheers...

Post Reply