I just noticed something when running some batch files on Windows 7. If I launch the file from Windows Explorer, the path in the command window matches the location of the batch file.

The paths, they match!
However, I typically launch my batch files from a toolbar on my taskbar that points to the same folder. The batch file still works, but the path shown in the command window is weird. I have no idea how an Adobe Version Cue path could get injected, but it does.

Weird paths
To capture both shots of the command window I had to hit Pause. These aren’t faked, they’re just completely random.
Tags: Adobe Version Cue, bat, batch, cmd, command, Folder Toolbar, path, Windows7
Posted in command line, microsoft, ramblings, random, windows | No Comments »
Here is an old utility project I started a few years ago to help make XCOPY scripts. It’s an HTA ( HTML Application ) so it currently only runs in Internet Explorer. Normally I wouldn’t release IE only code, but XCOPY is a windows only utility, and this is really just a quick and dirty little tool.
Usage is simple :
- Open with Internet Explorer
- Point and click through the options
- Click the ‘Make Script’ button
From here you can paste the xcopy script directly onto the command line, or into notepad and Save As “yourfile.bat”.
Download xcopier here

XCOPY maker in action
Tags: bat, cmd, HTA, Internet Explorer, xcopy
Posted in HTA, Internet Explorer, microsoft, utility, windows | 2 Comments »
How to find files quickly using the DIR command.
Here’s a quick way to find files on your windows machine using the command line, instead of the built in search functionality.
- Drop to a command line.
- CD your way to the folder you want to search.
- Type “dir /S *your file name here*
- Hit enter.
So if you wanted to find that hot track on your mp3 drive but don’t know where it’s located, you could do something like this : “dir /S *humps*.mp3″
Tags: cmd, dir, dir /s, file search, find, windows
Posted in command line, microsoft, windows | No Comments »