On Windows 10, I have a file called
truffle.js in my current folder.
truffle in the cmd window, expecting to invoke the
truffle program which resides elsewhere on my path.
truffle.js is opened in my favorite IDE (
.js files are associated with that IDE). I thought this behavior is only like this for executable files,
.exe. Why does it happen for a
Note: I subsequently discovered I have no
truffle at all installed on my path, but my question remains: why is Windows completing the extension which I did not specify on a non-executable file?
Even after installing truffle and restarting cmd, I can't get the real truffle to run in a folder that contains a file