Got this batch file from Symantec that copies the files to nul which recalls the placeholders, I have seen a few times where it does not get all placeholders but a second run did get the remaining placeholders. The only real issue that I have seen is an error on the windows side about the path being too long to process which kills the job. I am currently looking for a way to have it either run against files with an offline attribute or to be able to select a group of dirs to run it against as it currently only runs in the dir where the .bat is located. We have it named cpytonul.bat and the cmd is:
cpytonul.bat > copy_nul.log
it creates a copy.txt file that lists all files and then the copy_nul.log shows the processing.
dir %1 /s/b/A-d > copy.txt
for /f "delims=" %%A in ('type copy.txt') do copy ^"%%A^"
\\.\nul\
Regards
Travis