I want to be able to start Windows Apps (such as Outlook, Excel, Firefox) from a cmd shell script so that the Windows app starts and the shell script carries on.

I've tried a few things like Start, but no joy.

If I can't do it in cmd script, is there a free alternative I can use to do it?

I'm just trying to automate some things on the PC.



hello Durelli,

you use the start command.
in this format ...

>>>start "" "C:\Program Files\Internet Explorer\iexplore.exe"

start command then -> "" <-- which is the title, and MUST be included. here the title is blank, then write the full path within quotes or if your already in the folder where the file is, then just write its name and extension.


>>>start "" "C:\Program Files\Internet Explorer\iexplore.exe"

shall do the trick!

rememeber to mark it Solved

Thanks, it was the title string I was missing.

your welcome! :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.