Category Archives: Command Prompt

Creating a password protected zip file

I’ve found that the easiest way to create a password protected zip file, is to use the freely available 7-zip.

C:\7z.exe a test.zip fileyouwantzipped -pPUT_PASS_PHRASE_HERE

7-Zip 18.05 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2018-04-30

Scanning the drive:
1 file, 13626 bytes (14 KiB)

Creating archive: test.zip

Add new data to archive: 1 file, 13626 bytes (14 KiB)


Files read from disk: 1
Archive size: 11376 bytes (12 KiB)
Everything is Ok

C:\

A pretty easy way to generate passwords/pass phrases is to visit: https://untroubled.org/pwgen/ppgen.cgi and change options as you see fit.

Using xcopy to safely copy (and verify) files from one drive to another

I recently upgraded my “data” drive from a 3TB to a WD Black 6TB Performance Desktop Hard Disk Drive – 7200 RPM SATA 6 Gb/s 128MB Cache 3.5 Inch drive.

Once I had both drives installed in the computer, it was time to copy data.

Head over to: Start Menu -> All Programs -> Accessories -> Command Prompt. Right click on it, and choose “Run as administrator”


xcopy f:\ e:\ /f /h /i /j /o /s /v /x 1>>c:\xferlog.txt 2>&1

Continue reading Using xcopy to safely copy (and verify) files from one drive to another