Correct me if I'm wrong, but it appears that FOR and %0 are not implemented in the vDOS command line interpreter. I have a number of recursive batch files that reply on these elements to process multiple files using a 16-bit utility. I realize I could probably do this by loading 4DOS, but it would be much easier to do it directly in vDOS.
For example, I often do something like this:
@echo off if not (%1)==() goto doit for %%a in (*.db) do call %0 %%a goto end :doit echo Processing %1 (code to process file) :end
In my immediate situation I'm using the batch file to run the Paradox table verification utility, which must be run under vDOS.
vDos command line support is indeed quite basic. Only a few will need more advanced features like FOR. In my experience once you start adding stuff, more and more is requested (by one). So I choose to keep it simple since there's is the option to use 4DOS for complicated things.