Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 7 Online
OpenStudy (anonymous):

I wanna learn something about windows programming on this question:make a program (.bat) to auto-lunch and login a game client(such as League Of Legends),the id and pwd should be provided in some files..

OpenStudy (anonymous):

give me some help please ,I don't know how to make the client window read the id ,pwd info in a file.please help!!

OpenStudy (anonymous):

You can usually 'pipe' this into a command line using a .txt file. Enter the userid and password each on their own line and save as txt. Then 'pipe' it using something similar to the following launch.exe << file.txt

OpenStudy (anonymous):

Sorry I've tried to use pipe '>>' and I filed to send the info to the id input box and the pwd input box,I just felt using a 'a>>b' we need to write sth for b's receiving,just like what we did at the java web.And I think if we could get the 'object'of the .exe's window and the program's id input box 'object'and the pwd input box,then we can send the info into them and get the button's 'object',we can submit our data to the server.But I know nothing about Windows programming ,so I wonder whether this can make it .If you have other method,please help.Here's my code ,lunch it is okay, but I cannot send the info in txt @echo d: cd D:\Program Files\Tencent\QTalk\V3.5.4\Bin QTalk rem just be luched QTalk.exe << file.txt pause

OpenStudy (anonymous):

You could use the SANUR utility to pass the password to the QTALK application which is launched using the Windows RUNAS utility. Look here:: http://www.commandline.co.uk/sanur_unsupported/index2.html

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!