2014-02-24 25 views
0

我正在使用spring shell來開發命令行界面應用程序,我在windows機器上面臨一個問題,在Linux機器上我能夠使用!<OS Command>, 執行OS命令,但是這個不在Windows機器上工作。彈殼說Windows OS命令在Spring Shell中沒有執行

Unable to execute command, The system can not find the specified command

請讓我知道我怎樣才能在春天外殼執行Windows命令在Windows平臺上運行

在此先感謝(如日期,時間,路徑等命令)。

回答

1

日期,時間,路徑等是windows命令外殼的內置命令。看起來,這些內置命令在spring-shell中不可用,並且spring-shell會在windows路徑中以文件形式存在的命令之後進行查看。

可用的Windows命令,如calc(! calc),這些命令不是內置的。