开发者

Modify Windows Command Prompt History from a Program?

开发者 https://www.devze.com 2022-12-12 16:00 出处:网络
Is th开发者_运维技巧ere an API to add to the a windows command prompt history? I writing a console program and it would be handy to pop some commands into the history buffer under certain (limited) co

Is th开发者_运维技巧ere an API to add to the a windows command prompt history? I writing a console program and it would be handy to pop some commands into the history buffer under certain (limited) conditions.


There is no API for that. The history is just a buffer of the commands that the user has typed in during that command session. Once the command window has been closed, the history is gone.

0

精彩评论

暂无评论...
验证码 换一张
取 消