Fixed @Folders[]

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Apr 13, 2010
The Hague
Not much to say, really.
Simply try echo %@folders[c:\]
On my machine it doesn't echo anything and seems to eat up the new line between prompts.

Using %@Files[/h %DirName,d] as a workaround.

Regards, DJ.


Last edited:
Same thing seen here.

echo %@folders[c:\apps] — same result as you report

echo %@folders[/s c:\apps] — works

echo %@folders[/s+2 c:\apps] or %@folders[/s2 c:\apps] — both of these fail. Haven't tried the other kinds switches or arguments yet.