>I have a run command - automating 7zip that typed in the command window works, but when added to program fails
>the string in the command window is
>
>run '7z e -y zipfile.zip'
>
>in the program it is a little different
>lcZipString='7z e -y zipfile.,prg'
>run (lzZipString)
>
>
>The command window opens for a second and then closes.
>
>Any ideas?
>Mike
Use instead run &lcZipString
or
even better ShellExecute.
If it's not broken, fix it until it is.
My Blog