General information
Category:
Windows API functions
Title:
Wscript.shell and windows 98
I am seeing different behavior for a run command using wscript.shell in windows 95 and windows 98 and windows 2000 in a VFP 7 application.
I set the dos window to close automatically in the wscript command. It closes automatically in win 95 and win2000 but not in win 98
Code looks like this:
lcTimeServer='lanfin-nts-pfs1'
lcRun = "net time \\" + lcTimeServer + " /set /y"
o = CREATEOBJECT('wscript.shell')
o.Run(lcRun, 1, .T.)
RELEASE o
Any suggestions??
Next
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