dousui7410 2014-07-14 13:54
浏览 111

错误:运行.bat文件时“无法打开输入文件”

I have a script in a file .bat that I need to run in Ubuntu's terminal. I run it ($./execute.bat) and I get the following error in a line:

"Could not open input file: prepare.php"

In the line inside the file, there is the command:

php prepare.php

The file prepare.php is in the same directory of execute.bat and has all permissions (chmod 777)

Why I get this error and how can I solve it?

  • 写回答

1条回答 默认 最新

  • dtoaillwk759656786 2014-07-14 13:57
    关注

    You are getting the error because the bat file cannot open prepare.php due to permissions.

    Set the right permissions on prepare.php and it should be fine.

    评论

报告相同问题?

悬赏问题

  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 matlab求解平差
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料
  • ¥15 使用R语言marginaleffects包进行边际效应图绘制
  • ¥20 usb设备兼容性问题
  • ¥15 错误(10048): “调用exui内部功能”库命令的参数“参数4”不能接受空数据。怎么解决啊
  • ¥15 安装svn网络有问题怎么办
  • ¥15 vue2登录调用后端接口如何实现
  • ¥85 永磁型步进电机PID算法