Connect Direct file transfer using Windows command prompt

March 20, 2013 at 00:29:50
Specs: Windows Server 2003
Hi All,

I have many files containing YYYYMMDD date format in their filename. I need help for creating a Windows batch script to find all files with the current date inside a folder and then transfer them all to other server using connect direct.

For example, I have following files inside C:\temp folder :

If today is 20-Mar-2013, the script will then pick 3 files which is asdf_20130320.txt, gaga_20130319.txt, and ffff.12322_20130320.455532.

After that I need to transfer all these files using connect direct, also using a Windows batch script. Preferable if the file search and the connect direct script are inside a single .bat file.

Kindly help, many thanks.

See More: Connect Direct file transfer using Windows command prompt

Report •

March 20, 2013 at 19:41:05
Might save time if you can give your system's date format (echo %date%).

Report •

March 21, 2013 at 00:43:05
Looks very similar to this:

M2 Golden-Triangle

Report •

Related Solutions

Ask Question