I have this code:
ShellExecute(Handle, 'open', 'C:\Users\user\Desktop\sample\menu\WTSHELP\start.html', nil, nil, sw_Show);
How to replace the literal in the third argument with a string variable? If I use the code as shown below, it does not compile.
var dir: string; dir := 'C:\Users\user\Desktop\sample\menu\WTSHELP\start.html'; ShellExecute(Handle, 'open', dir, nil, nil, sw_Show);
source share