Well, with messing around, I made:
[pascal]
ShellExecute(hwindow, 'open', 'openal.txt', nil, nil, SW_SHOWNORMAL) ;
readln;
[/pascal]
work. Couldn't figure out what unit to use, so I randomly started testing some, and found Windows was what I needed. This should help