I'm trying to run:
find winnt -type f -exec echo {} \;
and it gives me
find: missing argument to `-exec'
on linux this works fine
is there another escape char to use?
thanks
find winnt -type f -exec echo {} ;
is the correct command in the MS-Windows command shell
(command.com or cmd.exe), since ; is not a special symbol.
However, you then get another error message:
"cannot fork: Function not implemented"
See http://gnuwin32.sourceforge.net/compile.html#subprocesses
for an explanation.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=217802
find winnt -type f -exec echo {} ;
is the correct command in the MS-Windows command shell
(command.com or cmd.exe), since ; is not a special symbol.
However, you then get another error message:
"cannot fork: Function not implemented"
See
http://gnuwin32.sourceforge.net/compile.html#subprocesses
for an explanation.
Logged In: YES
user_id=217802
This bug has been fixed. A new release is available through
http://gnuwin32.sourceforge.net/
Logged In: YES
user_id=1152063
this is not fixed on win2k
C:>c:\unix\bin\find winnt -type f -exec echo {};
c:\unix\bin\find: missing argument to `-exec'
Logged In: YES
user_id=217802
Does quoting {}; with double quotes (") work?