Run batch command in jenkins

I’m running jenkins on windows 7 as a service.

I’d like to run a very simple job which will start my firefox. (for example)

I configured a free style project and set up the “Execute windows batch command” option.

Here i have tried to insert couple of command which they all failed.

Commands like “echo hello” or other native command working as expected.

But command like “explorer ” – should open the mentioned directory, or “c:\firefox.lnk” (should open firefox) are not working.
The jenkins seems to be running but after while the job fails with an error.

How can i run these actions?


Git Baby is a git and github fan, let's start git clone.