'for' is intendend to give wildcards to programs like MuchMore which do not
support wildcards by themself. Its command template is
for FILE,CMD,EXEC/S,ALL/S
FILE is a filename expression, usually with wildcards. default #?
CMD is a command string like "MuchMore %s" (notice the quotes !). It
supports some printf-like expressions.
%f the complete filename including the path
%s the complete filename without path
%p the path of the argument file, without a trailing / or : !!!
%b the basename of the file, this is the filename upto the first '.'.
the default is "%f"
EXEC the execute flag, if not given, for will only display the commands,
but not execute them.
ALL the all flag, directories will be entered (MatchFirst/MatchNext feature!)
|