Display the path of the currently edited file in Visual Studio 2012

A Visual Studio border plugin that provides the full path of the currently open edit window
Where Am I extension

All I did, was to:
  • Get the source from Github
  • Install the SDK for Visual Studio
  • Open and convert the project
  • Change the project properties and use .NET Framework 4.5
  • Change the settings file to target Visual Studio 11.0
  • Compile for Visual Studio 11.0  (AKA. Visual Studio 2012)
That'a all folks!

For more information see also: Visual Studio 2012 - display full path of current file

Source code:
/ WhereAmI


One bug in SED.EXE and another in MS-DOS DEL command

That was a fun day, a WTF one (What's The Fun?!). Wasted at least an hour on troubleshooting third party applications... -_-'


Sed.exe temporary file bug

The utility 'sed.exe' (from GnuWin32) helped me in modifying a file during a headless installation process (changing a property in a "web.config" file). Until there, it was fairly cool.

But here comes the less fun part, I noticed that the executable creates a temporary file right in the middle of its working directory. This is a bug listed and commented here:

From what it looks like, the tool may have regressed in Windows 7 again. Unless it's because of the 64 bit system and the WoW emulation...? Anyway.

The temporary file is not that random, first we know where it is located, second, its name is made of 3 known characters 'sed' and 6 random alphanumeric ones. In regular expressions it would be something like


So let's rock'n'roll with a workaround. Let's call:

$> DEL /q sed??????

Let's call it in a directory that contains a file sedE1, a file sedE1f8fd, and a file sedE1f8fdBIS. What happens. All three are deleted. WTF?!

Wildcards issue

After further investigations, "sed????" works fine. So what is wrong?

It seems that, as far as wildcards are concerned:

"?????????" <=> "*"

The explanation I found is that DEL works still on the 8.3 character file name model.

So finally the only workaround is to wrap sed.exe into a batch file: