Tag: 7z

Use forefiles.exe and 7zip to archive files older than X number of days

On a Microsoft Windows server, there is a folder that contains 1000s of logfiles. Each logfile varies by name and size. I wanted a script that would compress all logfiles into a single zip file that were older than seven days. After the compression is completed and the zip file is created, all logs older than seven days will be…

Read More »

Create a 7zip Self Extractor (7zS.sfx or 7z.sfx)

One of easiest silent installations that most anyone can create utilize two free software products. 7-Zip (www.7-zip.org) and Resource Hacker (http://www.angusj.com/resourcehacker/)  Many of the silent installations that are created and found on this site are created using the 7zip compression.  To make a self-extracting silent installation, the utility, Resource Hacker, will need to be applied against the 7z.sfx file. In…

Read More »