[Windows] Windows 在 cmd 輸入 ls 命令處理, 解決 'ls' 不是內部或外部命令、可執行的程式或批次檔。

在windows 的 cmd 下 ls 會出現
'ls' 不是內部或外部命令、可執行的程式或批次檔。

解決方法 :

在C:/Windows下新增 'ls.bat',內容為 :
@echo off

dir

完成!

留言

這個網誌中的熱門文章

[TensorFlow, C++, Visual Studio, Windows] TensorFlow C++ 於 Visual Studio 快速使用 DLL,LIB 流程

[TensorFlow, C++, Visual Studio, Windows] TensorFlow C++ 如何編譯與解決BUG (How to build Tensorflow C++ API with Visual Studio and solve BUG)