Microsoft Office has the annoying habit of adding itself to various places in the Windows user interface. One of them is the popup menu of the Windows Explorer. It adds one entry for each of the installed programs to the "New" submenu. Have you ever used them? I have only used that submenu for creating … Continue reading Deleting unwanted entries from the “New” submenu of Windows Explorer
Category: Batch
Batch wizardry: Finding a subdir in all parent dirs
As an addition to Using my buildtools here is a batch subroutine to find a subdirectory in any of the parent directories of a script: :FindInParents @rem search all parent directories for a subdir and return @rem the full path to that directory in %result% setlocal set parentdir=%1% set subdir=%2% :loop call :GetDir %parentdir% set … Continue reading Batch wizardry: Finding a subdir in all parent dirs