Batch files

  jaraba 14:16 03 Sep 10
Locked

I want to open a spreadsht & another program at the same time.
Can I do it with a batch file & if so how.

  DippyGirl 16:52 03 Sep 10

Just create the .bat file with the following 2 lines

Start "Spreadsheet" C:\path\ssheet.xls
Start "Otherprog" D:\path\otprog.exe


The C:\path\ and D:\path\ must describe the path to the files (your spreadsheet and the other program)

Batch files are a bit clunky (from memory they dont like long names - or didnt )

May want to look at AutoHotKeys click here it can do this sort of stuff and much much more

  cocteau48 17:51 03 Sep 10

Very simple with this little program:click here

  VoG II 18:07 03 Sep 10

If you are using Excel then you could get Excel to open the other program. In the ThisWorkbook module for example



Private Sub Workbook_Open()
Dim RetVal
RetVal = Shell("notepad.exe", vbNormalFocus)
End Sub

This thread is now locked and can not be replied to.

Qualcomm Snapdragon 835 benchmarks: Antutu, Geekbench 4, GFXBench and PCMark results

1995-2015: How technology has changed the world in 20 years

This stop-frame animation tells a moving story of domestic violence for Refuge

New iPad 2017 preview: Apple's affordable but underspecced new iPad may appeal to the education…