cmd - '.'不被识别为内部或外部命令 windows 10

标签 cmd

在 Windows 10 上使用 gcc 编译文件后
使用 ./a.out 执行时说 '.'不被承认。

我已经在环境中设置了 gcc 路径

最佳答案

在 Windows 中使用:.\
在 mac 中使用:./
希望它会有所帮助

关于cmd - '.'不被识别为内部或外部命令 windows 10,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48605192/

相关文章:

windows - 我的 Windows 批处理显示 : "72 was unexpected at this time."

groovy - 如何通过groovy从cmd写入日志文件? (等级)

windows - 如何打开新的cmd窗口并在其中执行for循环?

Java错误: Exception in thread "main" java. lang.RuntimeException

cmd - 使用 Autohotkey 启动 Onenote UWP

c - 如何让输入在某个点被切断或环绕?

cmd 不适用于 C 项目

c++ - 如何将参数从 C++ 程序传递到 cmd?

windows - CMD 提示/批处理文件中的更多颜色

windows - find/C "A"结果为 "find: ' A' : No such file or directory"