General information
Category:
Windows API functions
>>Hi all,
>>
>>I am using the above developed by Mr. Ed Rauh. I am facing some problem using this in certain PCs and hope someone can enlighten me where I can resolve the problem. When I execute below :
>>
>>IF ddosrun("DIR /p", "MAX")
>>
>>ELSE
>>
>>ENDIF
>>
>>The message "The process didn't dtart up. Please try again...." is displayed no matter how many times I tried. I have traced down the failure to the below statement :
>>
>>lResult = CrPr( 0, cCommandLine, 0, 0, 0, 0, 0, uFromDir, ;
>> StartUpInfo, @cProcessInfo)
>>where the lResult is not 1...
>>
>>Please help. Thanks in advance.
>
>DIR is an internal command under Win9x, and can't be launched directly in this fashion. You might try launching a COMMAND.COM instance explicitly, something like:
>
>COMMAND.COM /C DIR /P
>
>to get this to run (this is necessary under Win9x at least, where the command processor isn't launched until the decision about the type of executable is made, and since there's no DIR.EXE, DIR.COM or DIR.BAT, it fails.)
Thank you, thank you and thank you... You are a life-saver!!!
Regards.
Previous
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