无法将“触摸”识别为内部或外部命令,可操作程序或批处理文件 [英] 'touch' is not recognized as an internal or external command, operable program or batch file

查看:84
本文介绍了无法将“触摸”识别为内部或外部命令,可操作程序或批处理文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用laravel 5,当我在Windows cmd中键入此命令
touch storage\database.sqlite
此错误消息上升
'touch'被识别为内部或外部命令,可操作程序或批处理文件。
是否有解决它的提示?

I work with laravel 5 , when i type in windows cmd this command "touch storage\database.sqlite" this error message rise 'touch' is not recognized as an internal or external command, operable program or batch file. any hint to solve it ?

推荐答案

如果您使用的是node.js,只需使用npm将其安装在Windows上:

if you are using node.js just use npm to install it on Windows:

C:\npm install touch-cli -g

它将安装用于触摸的命令行界面,然后可以与unix一样使用它。

it will install the command line interface for touch, you can then use it the same as unix...

这篇关于无法将“触摸”识别为内部或外部命令,可操作程序或批处理文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆