Copying a mix of files and directories with Robocopy
If I copy files with robocopy and specify a directory name, robocopy seems to treat the directory as a file.  I have a bat file with a mix of files and directories specified.

    set "udate=%date:~6,4%%date:~0,2%%date:~3,2%"
    set working="c:\inetpub\wwwroot\portal"
    set live="c:\inetpub\wwwroot\live"				
    					
    robocopy	%working%	%live%	addpages.php	/e /ndl	/MAXAGE:%udate%
    robocopy	%working%	%live%	images	/e /ndl	/MAXAGE:%udate%

There are more than 60 calls to robocopy in that bat file for files and for directories.  In the sample shown, addpages.php is a file, images is a directory.  Does robocopy need more information to copy directories?
Copying a mix of files and directories with Robocopy
===

If I copy files with robocopy and specify a directory name, robocopy seems to treat the directory as a file.  I have a bat file with a mix of files and directories specified.

    set "udate=%date:~6,4%%date:~0,2%%date:~3,2%"
    set working="c:\inetpub\wwwroot\portal"
    set live="c:\inetpub\wwwroot\live"				
    					
    robocopy	%working%	%live%	addpages.php	/e /ndl	/MAXAGE:%udate%
    robocopy	%working%	%live%	images	/e /ndl	/MAXAGE:%udate%

There are more than 60 calls to robocopy in that bat file for files and for directories.  In the sample shown, addpages.php is a file, images is a directory.  Does robocopy need more information to copy directories?