Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RUN does not work
Message
From
08/06/2006 12:46:36
 
 
To
08/06/2006 11:07:44
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows NT
Miscellaneous
Thread ID:
01127845
Message ID:
01127888
Views:
15
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"
Previous
Reply
Map
View

Click here to load this message in the networking platform