- Oct
- 364
- 17
The folder setup I have is this:
\THR
\THR\Downloads\2017\06 Jun 2017\01 {current month}
\02
\03
etc.
\THR\Downloads\2017\06 Jul 2017\01 {future month}
\02
\03
etc.
A file zcs_20170603.txt is moved to the appropriate day folder.
It might be automatically copied to \THR, depending on a variety of factors.
If not, it has to be manually copied to \THR.
The main program then renames the copy, which ultimately gets deleted.
What I would like to do is have the main program look for the original without using a detailed "walk the tree" program so if the user moves the file rather than copying it the main program won't proceed.
It seems there should be an easy way to do that with ffind /s /f {something} >NUL basically saying "Look in subfolders of \Downloads\ until you find or don't find %source_file." I tried \Downloads\*\ but that doesn't work.
\THR
\THR\Downloads\2017\06 Jun 2017\01 {current month}
\02
\03
etc.
\THR\Downloads\2017\06 Jul 2017\01 {future month}
\02
\03
etc.
A file zcs_20170603.txt is moved to the appropriate day folder.
It might be automatically copied to \THR, depending on a variety of factors.
If not, it has to be manually copied to \THR.
The main program then renames the copy, which ultimately gets deleted.
What I would like to do is have the main program look for the original without using a detailed "walk the tree" program so if the user moves the file rather than copying it the main program won't proceed.
It seems there should be an easy way to do that with ffind /s /f {something} >NUL basically saying "Look in subfolders of \Downloads\ until you find or don't find %source_file." I tried \Downloads\*\ but that doesn't work.