Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RUN Command without /N option
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
RUN Command without /N option
Miscellaneous
Thread ID:
00774563
Message ID:
00774563
Views:
40
HI all,

I keep having issues with the VFP RUN command that I can't seem to resolve. The main issue is that RUN without the NOWAIT clause fails on something like this:

RUN D:\WINDOWS\MICROS~1.NET\FRAMEW~1\V11~1.432\regasm.exe "D:\PROJECTS\DYNAMICCOMPILATION\WWSCRIPTING\BIN\RELEASE\WWSCRIPTING.DLL" /unregister

I get 'Invalid Argument' errors.

but it works with the following:

RUN /n D:\WINDOWS\MICROS~1.NET\FRAMEW~1\V11~1.432\regasm.exe "D:\PROJECTS\DYNAMICCOMPILATION\WWSCRIPTING\BIN\RELEASE\WWSCRIPTING.DLL" /unregister

The non-nowait functionality is nice for operations that need to wait for completion like this registration process. It works with other files but it inconsistently keeps failing and I'm not sure why that is...

Anybody have any idea why the non /n version is failing?

I reallize I can achieve this functionality with WSH, but this is not an option at this time due to the general distribution of this app to potentially ancient OS's...
+++ 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?
Next
Reply
Map
View

Click here to load this message in the networking platform