PG> I'm trying to write a script that recursivly checks sub
PG> directories of a folder and if they are empty, writes a
PG> blank dummy.txt file to it.
An easier thing to do would be to ensure that all directories contain a
"dummy.txt" file. Here's a 4NT or TCWIN32 one-liner that (presuming that the
current directory has already been changed to be the top-level directory in
the hierarchy) does that:
GLOBAL /I TOUCH /C DUMMY.TXT