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 ?
40
votes
14 Answers
125
votes
15
votes
7
votes
The command you're trying to run is a unix/linux based command so it won't work in Windows.
All it does is update the modified timestamps of a file.
There's another question on here that gives you an alternative for Windows: https://superuser.com/questions/10426/windows-equivalent-of-the-linux-command-touch/764716
4
votes
3
votes
2
votes
0
votes
0
votes
0
votes
0
votes
touch
is a *nix command, not a Windows one. Here are some solutions: superuser.com/questions/10426/… – Joel Hinztype nul>example.txt
– AMD