file - How to read/copy command prompt data using JAVA -
i got application prints bunch of lines on command prompt, want read information , write file track application output.
i can not invoke application using process or processbuldier , read output because output prints uses different process.
what want copy data prompt , paste file, not know how access process.
for example, open cmd prompt , type dir manually know want read info , write file(remember not using getruntime.exec('cmd','\c',dir) cmd output instead doing dir part manually opening cmd , typing doing reading output.
basically want amounts keylogger. has security implications (you might try intercept someone's password) think it's not possible in java.
Comments
Post a Comment