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

  • Статус: Closed
  • Винагорода: $12
  • Надіслані роботи: 5
  • Переможець: amnu14

Стисле описання конкурсу

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.

Рекомендовані навички

Відгук роботодавця

“Professional, helpful, fast. Thank you!”

Зображення профілю Tobiaszu, Switzerland.

Найкращі роботи цього конкурсу

Переглянути більше робіт

Публічна роз'яснювальна дошка

Поки що немає повідомлень.

Як організувати конкурс

  • Опублікуйте свій конкурс

    Опублікуйте свій конкурс Швидко та просто

  • Отримайте безліч конкурсних робіт

    Отримайте безліч конкурсних робіт З усього світу

  • Оберіть найкращу роботу

    Оберіть найкращу роботу Завантажуйте файли - це просто!

Опублікувати конкурс зараз або приєднуйтесь до нас вже сьогодні!