Ok tôi nhìn vào nguồn cho Console.exe và đi sâu vào trợ giúp biên dịch.
Bạn cần một -r
Vì vậy: Console.exe -r program.exe
Command line parameters
Console supports these command line parameters:
-c <configuration file>
Specifies a configuration file.
-w <main window title>
Sets main window title. This option will override all other main window title settings (e.g. 'use tab titles' setting)
-t <tab name>
Specifies a startup tab. Tab must be defined in Console settings.
-d <directory>
Specifies a startup directory. If you want to parametrize startup dirs, you need to specify startup directory parameter as "%1"\ (backslash is outside of the double quotes)
-r <command>
Specifies a startup shell command.
-ts <sleep time in ms>
Specifies sleep time between starting next tab if multiple -t's are specified.
Nguồn
2012-06-14 01:56:46
bạn đã xem các tài liệu cho các cú pháp dòng lệnh console.exe không? Có manh mối nào không? Chỉnh sửa: Các tài liệu dường như không làm việc ... Bạn sẽ phải tìm trong nguồn tôi nghi ngờ –