Page 1 of 1

use bat file to open application then file

Posted: 07 Apr 2017 00:25
by hendrikbez
I want to know if this is possible.

I am opening a application ,then I open a file form there, then I open the application again and open a new file, so there are now two files open with it.
can this be done with a bat file at all.

Re: use bat file to open application then file

Posted: 07 Apr 2017 02:57
by penpen
It heavily depends on the application you are using - but to be honest:
It sounds more like a job for AutoIt to me.
(Although you probably may also use hybrid jscript/bat or C#/bat scripts .)


penpen

Re: use bat file to open application then file

Posted: 07 Apr 2017 03:35
by hendrikbez
penpen wrote:It heavily depends on the application you are using - but to be honest:
It sounds more like a job for AutoIt to me.
(Although you probably may also use hybrid jscript/bat or C#/bat scripts .)

Did look at Autoit, but at the moment does not understand it.
Will try to look hybird jscript
penpen

Re: use bat file to open application then file

Posted: 09 Apr 2017 11:43
by Samir
penpen wrote:It heavily depends on the application you are using - but to be honest:
It sounds more like a job for AutoIt to me.
(Although you probably may also use hybrid jscript/bat or C#/bat scripts .)


penpen
Not only this, but it also depends on the system you are running it on as well. Some systems may have the files you want to open associated with the application which would make certain things easier. Other systems may not and you'd have to use a different method.