General information
Category:
Coding, syntax & commands
I would recommend to avoid using RUN. There are situations when it does not work, and it is hard to find the cause. Try shellexec or winexec API instead. Something like:
DECLARE INTEGER ShellExecute ;
IN SHELL32.DLL ;
INTEGER nWinHandle,;
STRING cOperation,;
STRING cFileName,;
STRING cParameters,;
STRING cDirectory,;
INTEGER nShowWindow
?ShellExecute(0,"open",fullpath("btest.bat"),"","",1)
>Any ideas why This won't work:
>Set Default To "\\gvmain\applications\foxapps\acltsupport\aclthold"
>Run /N2 btest.bat
>
>but this will:
>
>Set Default To "g:\foxapps\acltsupport\aclthold"
>Run /N2 btest.bat
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only