Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wscript.exe
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Miscellaneous
Thread ID:
00797848
Message ID:
00960968
Views:
19
So dont u want to perform the check (shown below), before issuing the commands:
? TYPE([CREATEOBJECT("wscript.Shell")]) = "O"     && will return .T. if WSH is presented
>You don't 've to perform any tests to run code below but it would generate an error if WSH isn't present on PC.
>
>>
>>Are u saying its not necessary to perform the test noted earlier in the thread in order to run something like:
>>
>>
WshShell = CreateObject("WScript.Shell")
>>strDesktop = WshShell.SpecialFolders("Desktop")
>>
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform