Blog Post

Creating Placeholder Files

,

I recently wrote about placeholders for disk space. While you can use any file, like large images, video, etc., I’ve found a really simple, easy way to build these files on Windows.

Contig.exe

There’s a sysinternals utility called Contig. You can download it from Microsoft and then unzip it on your system. It’s a command line utility, so you can use the /? to get the parameters from it, but here’s what you need to do: use the -n parameter, with a filename and a size.

That simple. Here’s a sample call:

placeholders1

And in text:

contig -n Hold1.place 1073741824

That creates a 1GB file (roughly) on my system. I can then copy this file as many times as I want to save space.

I use folder in the root called placeholder. I put one file in there and then copy it a few times to reserve space.

Why that size? 1024 * 1024 * 1024.

Filed under: Blog Tagged: administration, syndicated

Rate

You rated this post out of 5. Change rating

Share

Share

Rate

You rated this post out of 5. Change rating