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

  • Status: Closed
  • Pris: $12
  • Bidrag mottagna: 5
  • Vinnare: amnu14

Tävlingssammandrag

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.

Rekommenderade kompetenser

Arbetsgivares feedback

“Professional, helpful, fast. Thank you!”

Profilbild Tobiaszu, Switzerland.

Topp bidrag från den här tävlingen

Visa fler bidag

Klargörandetavla

Finns inga meddelanden än.

Hur du kommer igång med tävlingar

  • Lägg upp din tävling

    Lägg upp din tävling Snabbt och enkelt

  • Få massvis med bidrag

    Få massvis med bidrag Från världens alla hörn

  • Utse det bästa bidraget

    Utse det bästa bidraget Ladda ner filerna - enkelt!

Lägg upp en tävling nu eller gå med idag!