Hi,

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.

cheers

Durelli

Recommended Answers

All 3 Replies

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.

but

>>>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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.