I have a simply batch that iterates files within a directory as suggested here:
cd "c:/TheDirectory"
for /f %%i in (*) do echo %%i
However when I execute this I get the following error:
Unable to find file *
When I execute this within a shell-promt I get the files within the directory.
Am I missing anything?