Can you try something like:
DECLARE INTEGER ShellExecute IN "shell32.dll";
INTEGER hwnd,;
STRING @ lpOperation,;
STRING @ lpFile,;
STRING @ lpParameters,;
STRING @ lpDirectory,;
INTEGER nShowCmd
ShellExecute( 0, "open", "c:\windows\notepad.exe", "c:\temp\test.txt", "", 1 )
>I have a customer using WIN NT and the RUN or ! command will not work. I even had him copy c:\winnt\system32\cmd.exe and command.com to his starting folder, but even a statement like
>!cmd.exe
>gets a file not found. Statements like
>!pkzip25.exe
>just flash a black screen. I had him check his starting folder and PKZIP25 is there! My system, using WIN98 and all my other customers do not have this problem. Any suggestions?
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"