Batch files

  jaraba 14:16 03 Sep 2010
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 2010

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 2010

Very simple with this little program:click here

  VoG II 18:07 03 Sep 2010

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.

Elsewhere on IDG sites

Alienware 17 R4 2017 review

Illustrator Sylvain Tegroeg created thousands of intricate line drawings for the mobile game…

Best iPad buying guide 2017

Comment télécharger une application indisponible en France ?