Oh, sorry sealeopard
the output for $cmdln is:
"D:\Program Files\icqlite\unwise32.exe" /A "D:\Program Files\icqlite\icelite.log"
It seems to be reading OK. It does not have any issues with the first part of the string as the executible is launched, but it errors out saying "cannot find log file. However, if I hardcode in the log file path (not the .exe path) everything works just fine.