View Single Post
  #1   Report Post  
Manoj
 
Posts: n/a
Default opening excel from cmd

Hi all,

I want to open an excel file from CMD and dont want to loose focus from
the current application.

I am using "spawn" ( similar to SHELL ) to run commands on CMD.

If I write spawn "c:\test.xls" it opens the excel , but also set focus
to it. I do not want to loose the focus from the application.

If it is possible to hide it then it will be well and good.

Could anybody help with this?