Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run batch file
Message
 
To
23/09/2002 05:58:22
Wilfred Chan
Bnp Paribas Hong Kong Branch
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00703275
Message ID:
00703285
Views:
18
Failed, huh? Might be because of missing shell extensions to run Shell Execute if not patched.

The RUN command is probably a better choice for a batch file anyway.

>Dear all,
>
>I'm trying to run an external batch file with the following code
>
>nRet = shellexecute(FindWindow( 0, _SCREEN.CAPTION),"open",{Batch file},"","",1)
>
>But it failed in some workstations (NT 4.0).
>Any ideas? Or alternatives?
>
>Thank you, Wilfred
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Reply
Map
View

Click here to load this message in the networking platform