sagar Posted August 21, 2007 Posted August 21, 2007 (edited) hi friends i need help again.i need help in following command line. Run(@ComSpec & " /c " & 'commandName', "", @SW_HIDE)actuly i want send key srokes in hidden mod in MSDOS.is there any other way to send key in DOS hidden mon plz tell.thank u in advance. Edited August 21, 2007 by sagar
Generator Posted August 21, 2007 Posted August 21, 2007 hi friends i need help again.i need help in following command line. Run(@ComSpec & " /c " & 'commandName', "", @SW_HIDE)actuly i want send key srokes in hidden mod in MSDOS.is there any other way to send key in DOS hidden mon plz tell.thank u in advance. Look in _RunDOS()..?
Gif Posted August 21, 2007 Posted August 21, 2007 (edited) please give full script ......i m new. there are several ways to do that...., if you dont want the results e.g. you want to start a website you can use _RunDOS(). You can also use StdinWrite() and StdoutRead() to get the reasult.... there is also another way to do that using something like this: Run(@ComSpec & " /c ipconfig > "& @tempdir &'\temp.txt', "", @SW_HIDE) $rd = FileOpen(@tempdir &'\temp.txt', 0) $rp = FileRead($rd) msgbox(0, '', $rp) FileClose($rd) Exit (look in the helpfile for examples) Edited August 21, 2007 by Gif
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now