Thomas Sampson

Executing multiple executables

I knew this could be achieved easily through a batch file (Windows only). I wanted to launch 3 programs at once, I would use this script at uni to launch a bunch of portable apps I use almost every logon session. I first tried the following, simply putting a different executable path on each line…




It turns out this half worked, but wont laucnh the program on line 2 until program 1 closes. I then found that to get all the 3 applications to launch simultaneously the following code is necessary…

start “” “F:\MyWork\Apps\PidginPortable\PidginPortable.exe”
start “” “F:\MyWork\Apps\FirefoxPortable\FirefoxPortable.exe”
start “” “F:\MyWork\Apps\Notepad++Portable\Notepad++Portable.exe”

( the exit command just closes the command file once the script has completed)

Regular Expressins in Python

Really usefull link to help getting to grips with regular expressions. Although the code examples around regular expressions are written in Python, don’t be put off if you are not familiar with the language. The article provides an overview of regular expressions and how to use them, giving you the understanding to implement them in your language of choice.

1 Comment

Making an ISO file from terminal in Ubuntu

Today I discovered the mkisofs command, a general linux command not specific to Ubuntu. This command enables you to make an ISO disk image of any folder or group of files on your hard drive or external media. I used it today to make an ISO file of a CD which appears to have worked perfectly using the following command

mkisofs -o EPSON.iso /media/cdrom0

The -o parameter specifies the desired output file-name (in this case EPSON.iso). This command has literally hundreds of paramaters which are explained better than I would even attempt here.