See the FAQ Forum with regard ot proper use of quotes. Also, using SETOPTION('novarsinstrings','on') will make the string building experience easier. You will need to enclose the complete path with double quotes.
Code:

$comdline='"'+$ProgStr+'\unwise32.exe" /A "'+$ProgStr+'\'+$BProg+'.log"'



Edited by sealeopard (2004-02-16 09:44 PM)
_________________________
There are two types of vessels, submarines and targets.