Windows 10, Emacs 25.1

I try to find all el files in emacs folder and all subfolders:

  1. M-x find-name-dired
  2. /path/to/emacs-25.1
  3. *.el

Result is error:

  find . "(" -iname "*.el" ")" -exec ls -ld {} ";"
  File not found - "*.el"

  find exited abnormally with code 2 at Sat Sep 23 18:59:43

This command depends on the find utility, which isn't present in Windows, at least in form Emacs expects it to be. You'd have to use Emacs in WSL or something like Cygwin to get this to work properly.

  • 1
    I have found msys2 to be a life-saver on Windows. – InHarmsWay Sep 24 '17 at 13:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.