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

  • Status: Closed
  • Premie: $12
  • Mottatte bidrag: 5
  • Vinner: amnu14

Konkurransesammendrag

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.

Anbefalte ferdigheter

Arbeidsgivers tilbakemelding

“Professional, helpful, fast. Thank you!”

Profilbilde Tobiaszu, Switzerland.

Beste bidrag i denne konkurransen

Se flere innlegg

Offentlig avklaringstavle

Ingen meldinger enda.

Hvordan å komme i gang med konkurranser

  • Legg ut din konkurransen

    Legg ut din konkurranse Raskt og enkelt

  • Få mange bidrag

    Få mange bidrag Fra hele verden

  • Kår det beste bidraget

    Kår det beste bidraget Last ned filene - Enkelt!

Legg ut en konkurranse nå eller bli med i dag!