Forum How do I...?

Wildcards with command line interface

Willy
Can I use wildcard characters on the command line interface (using the PC version)? This is an example of what I am trying to do:

prince -s c:\myfile.css c:\profile\*.html -o c:\profile\*.pdf

Ideally, I'd like it to grab all my html files and convert them to the same name/directory but with a pdf extension.
mikeday
Prince doesn't expand wildcard characters in path names. On Linux one would write a shell script to do this:
for i in *.html ; do
    prince $i
done

Perhaps on Windows a batch file could do a similar thing?
Willy
I created a batch file via an editor to do this but thought there might be an easier way via the command line.



Thanks