Create a batch (.bat / .com) file for Win7...Win 10

  • Status: Closed
  • Prize: $12
  • Entries Received: 5
  • Winner: amnu14

Contest Brief

The folder "D:\Temp\NT\log" contains folders and files. Ignore the files. The folders are named with dates and times, e.g. 2018-01-25_08_05_12 for a folder which has been created today. Copy all the folders and all their content with the date of the current date (today) to "D:\Temp\NT\transfer" (create this directory, if it doesn't exist).
As a second step, compress all the folders which have been copied to "D:\Temp\NT\transfer" with 7-zip, located here: "C:\Program Files\7-Zip\7z.exe" and delete the original folders. The folder "D:\Temp\NT\transfer" should now contain files like "2018-01-25_08_05_12.7z". The .7z files should directly contain the content of the previous folder without a top directory like "2018-01-25_08_05_12". In other words, when the original folder "2018-01-25_08_05_12" contains a folder "bla" and a file "bla.bla", I should directly see this content after opening the .7z file. 7-zip is available here: 7-zip.org/
The first working program wins.

Recommended Skills

Employer Feedback

“Professional, helpful, fast. Thank you!”

Profile image Tobiaszu, Switzerland.

Top entries from this contest

View More Entries

Public Clarification Board

No messages yet.

How to get started with contests

  • Post your contest

    Post Your Contest Quick and easy

  • Get tons of entries

    Get Tons of Entries From around the world

  • Award the best entry

    Award the best entry Download the files - Easy!

Post a Contest Now or Join us Today!