tinyapps.org / blog


Batch encrypt existing ZIP files #

zipcloak encrypts all unencrypted entries in a ZIP file, but it does not support wildcards in filenames (e.g., *.zip) for batch processing, nor does it allow passing the password in an argument; one must enter and reenter the password manually:
C:\>zipcloak.exe foo.zip
Enter password:
Verify password:
encrypting: baz.txt
encrypting: bar.txt
or jury-rig something like expect.

Happily, T. Furukawa crafted a patch for zipcloak that adds a password option, so batch processing is much easier:
C:\>for %f in (*.zip) do zipcloak -p password %f
Download the patch and/or binary from the above link or this local cache.

Batch password-protecting existing ZIP files can also be done with WinRAR (Select ZIP files > Tools > Convert archives > Compression... > Set password...) or PeaZip (Select ZIP files > Convert > Enter password / keyfile (optionally set algorithm to ZipCrypto under the Advanced tab for compatibility with Windows' built-in ZIP handling)). Note that filenames within ZIP archives are not encrypted; see Filenames display without entering the password when an encrypted Zip file is opened for more information and a workaround. Further note that the encryption algorithm used by zipcloak and ZipCrypto is very weak.

/windows | Nov 22, 2014

Find and optionally rename very long file names and paths #

Green Award Cut Long Names 1.9 [322k] + Find and optionally shorten / rename filepaths exceeding 255, 260, or any number of characters. Screenshot

/windows | Nov 15, 2014

Download emcopy.exe directly from EMC (rather than some random FTP site) #

I just learned about emcopy.exe, a file copy utility from EMC similar (and superior in some ways) to xcopy, robocopy, xxcopy, etc. Finding and downloading it is not as straightforward as it should be; here's what worked for me:
  1. Signup for a free account at https://support.emc.com.
  2. Click link in activation email to complete signup process and then sign in.
  3. (Before continuing to step 4, I clicked "Download Center Registration" on the https://support.emc.com/downloads page and registered; not sure if that was required, as the form output was rather ambiguous.)
  4. The direct download link for the archive containing emcopy.exe (https://download.emc.com/downloads/DL32449_CIFS-Tools.zip.zip (yes, there are two .zip file extensions), which I originally found mentioned here, did not initially work for me even after signing in (though a bit later it did start working - not sure if this had anything to do with the Download Center Registration). I had to go to https://support.emc.com/downloads/82_Celerra, click the Title column, search the page for "CIFS Tools.zip", and click the link there to download (MD5: c5e480a84e6dd7d8d3b2f2186a549d0c | October 30, 2013 | 8.5 MB).
  5. Once unzipped, you'll find 32 and 64 bit versions of emcopy.exe 04.14 in disk3/apps_7.1.72.1/CifsTools/emcopy/nt/ as well as a readme.txt file in the directory just above.

/windows | Oct 26, 2014

Ad Muncher #

Great story from developer Murray Hurps: Ad Muncher's 15 Year History. Here are a few excerpts:
"I loved low-level code, doing a lot of x86 assembly coding on a 386DX-40. When Windows 95 came along, I stayed at the low level and loved finding ways to do novel things on the new platform ... Our first installer was 29kb in size, which included the filter list ... Popups started to become more common around this time (X10's popunder ads were a notable source of complaints from users, wonder why?), so I implemented a rudimentary JavaScript processor, which traced script execution paths and tried to determine which paths to popup functions were automatic (bad popups) and which needed user input (good ones). Ad Muncher was still 100% x86 assembly at this point."

After 15 years as shareware, Murray is generously releasing Ad Muncher for free.

/windows | Oct 19, 2014

Microsoft Virtual Machine Converter adds P2V support #

Microsoft® Virtual Machine Converter (MVMC) 3.0 is a Microsoft-supported, stand-alone solution for the information technology (IT) pro or solution provider who wants to convert virtual machines and disks from VMware hosts to Hyper-V® hosts and Windows Azure™ or alternatively convert a physical computer running Windows Server 2008 or above server operating systems or Windows Vista or above client operating systems to a virtual machine running on Hyper-V host.

(via The Deployment Bunny)

/windows | Oct 15, 2014

Blocking BadUSB #

USB KEYBOARD GUARD from G DATA attempts to block BadUSB attacks by requiring users to approve newly-detected USB keyboards.

(via Robert Penz, who also points to Christian Vogel's Linux instructions for blocking BadUSB)

UPDATE: Claus Valca has more information on BadUSB and USB KEYBOARD GUARD.

/windows | Oct 12, 2014

VirtualObjectives #

offers a number of free utilities, including:

/windows | Oct 05, 2014

Windows 10 Technical Preview #

Windows 10 Technical Preview ISOs are out. A few thoughts (billg: I carp because I care):
  1. Setup screens during install are the same as those from Windows 8
  2. Same annoying "Sign in to your Microsoft account" after install with no apparent way to bypass. As before, disconnecting from the network, clicking the back arrow, then clicking next allows creation of a local account instead. Microsoft: Please fix this - give users an obvious way to avoid having to setup or sign in to yet another online account (as OS X does).
  3. Strange popup (for feedback, I suppose): "How hard was it to use Start?" Seriously? How hard was it to add Start?
  4. The power button ("Power Options") is now at the top of the Start menu - please put it back at the bottom where it belongs.
  5. Put all of the "Windows Store apps" in a folder instead of having to scroll endlessly through them. And while you're at it, please re-add the ability to easily create, delete, and rename folders on the Start menu (the only options from the context menu are "Expand" or "Collapse").

So far, as near as I can tell, Windows 10 is basically Windows 8.1 with a garish Start menu; calling it 8.2 or even 8.1.1 would seem closer to the truth.

Updates:

/windows | Oct 01, 2014

TrueCrypt and exFAT #

These steps outline how to encrypt an entire external USB hard drive with TrueCrypt 7.1a and setup the filesystem as exFAT (for large file and read/write support under modern versions of Windows, OS X, and Linux). ANY EXISTING DATA ON THE USB DRIVE WILL BE DELETED!! Use at your own risk (and joy). Tested under Windows 8.1.
  1. Run diskmgmt.msc
  2. Delete any volumes on the USB drive so that the entire disk is shown as "Unallocated"
  3. TrueCrypt > Tools > Volume Creation Wizard > Encrypt a non-system partition/drive > follow the wizard through setting up desired password/keyfile
  4. Set Filesystem to none
  5. Click Format (after moving the mouse as instructed to increase entropy)
  6. Read warning and click Yes if you agree
  7. Wait for the encryption process to complete
  8. Mount the device in TrueCrypt (Select Device... > click on your encrypted drive > OK > click desired drive letter > click Mount > enter credentials > OK)
  9. From an elevated command prompt, run: format <drive letter>: /fs:exfat /q

Thanks to Rowan's blog post and Cal's attached comment.

/windows | Sep 29, 2014

Batch download and embed album cover art #

If you have a huge MP3 collection and just want to batch download and embed cover art without verifying each cover individually (and iTunes' "Get Album Artwork" is insufficient*):
  1. Download and install Mp3tag
  2. Download DisCoverArt and unzip contents to the Mp3tag program directory (e.g., C:\Program Files (x86)\Mp3tag)
  3. Open an elevated command prompt and cd to the Mp3tag program directory
  4. Run regsvr32 custommsgbox.dll and click OK when the success dialog appears
  5. Open Mp3tag
  6. File > Add directory... > navigate to your music folder > Select Folder
  7. Create a new tool:
    1. Tools > Options > Tools
    2. Click the New (yellow star) button
    3. Name: DisCoverArt Google 300x300 Artist+Title NoQuotes
    4. Path: Browse to the Mp3tag program directory and select DisCoverArt.exe
    5. Parameter: "%artist%" "%title%" -discomusic.com 0 1 300 300 jpg 1 1
    6. Check "for all selected files" > OK > OK
  8. Create a new action:
    1. Actions > Actions (you need to select at least one song in the main interface for this menu item to be available)
    2. Click the New (yellow star) button
    3. Name of action group: Save Coverart
    4. Click OK > click the New button again
    5. Select action type: Import Cover From File > OK
    6. Format string for image filename: %artist% - %title%.jpg
    7. Import cover as: Front Cover
    8. Check "Delete existing cover art" > OK > OK > Close
  9. Right click on column header > Customize columns... > check "Cover" > click "Move up" until it is at or near the top of the list
  10. Click the Cover column to sort
  11. Select all files without an entry in the Cover column (the author recommends selecting no more than 300 at a time to avoid problems)
  12. Right click on highlighted files and click Tools > DisCoverArt Google 300x300 Artist+Title NoQuotes
  13. Wait for all console windows to close
  14. Actions > Actions (Quick) > "Import cover from file" > OK
  15. Format string for image filename: %artist% - %title%.jpg
  16. Import cover as: Front Cover
  17. Check "Delete existing cover art" > OK > OK
  18. File > Save tag > OK
  19. Close Mp3tag
  20. Getting the artwork to show up in iTunes:
    1. Open iTunes and click "Albums"
    2. Edit > Select All > Right click > click "Uncheck Selection" (album covers will appear)
    3. Edit > Select All > Right click > "Check Selection"
Another option is to download cover art with Album Art Downloader and embed with Mp3tag:
  1. Download and run Album Art Downloader
  2. File > New > File Browser...
  3. Enter path to music directory under "Search for audio files in:"
  4. Click Search
  5. Click Options...
  6. Click "Automatically download and save the first result that meets set criteria"
  7. Click "Select all albums with missing artwork"
  8. Click "Get Artwork for Selection..."
  9. Click "Download and save results automatically"
  10. If desired, change minimum required image size to 300 px and allowed cover types to Front
  11. Click Start
  12. When the process is complete, embed the album art with Mp3tag by starting with step 14 above. The only change is in step 15, where you'll need to use Folder.jpg as the format string.

* On a related note, cover art obtained through iTunes' "Get Album Artwork" is not embedded within files by default. To quickly embed all such artwork, the fastest and simplest tool I've found is the $5 iCoverArt (via the "Embed Downloaded Artwork" function). The free and open source iTSfv looked promising, but kept crashing in a clean Windows 7 32 bit virtual machine, even after installing the required .Net Framework.

/windows | Sep 10, 2014


Subscribe or visit the archives