看板 ASM 關於我們 聯絡資訊
例如: C:\ test.exe C:\ test.exe 我想問的是 test.exe是一種命令提示字元的檔案 裡頭可以輸入指令 那我如何直接從批次檔,直接輸入我要的指令呢?! 換句話說 test.exe裡頭要我輸入今年我幾歲的話? 那我如何透過批次檔(.bat),直接輸入呢?! 以上 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 203.64.128.2
ksmrt0123:編一個in.txt 第一行放歲數 然後執行 test<in.txt 05/07 19:16
ruemann:看不懂你要問的,不就是 test.exe 18 這樣? 05/08 15:17
WolfLord:echo password | test.exe 05/08 19:03
ksmrt0123:推W大的方法 很久沒用pipe了 05/08 23:17