Tuesday, March 13, 2012

A simple batch file, for send to menu

Create a batch file named x.bat with a text editor. Add the following line:

%SystemRoot%\explorer.exe /e,/root, %1

Place the file in your send to folder.

Now when you right click a folder in explorer, you can go to send to menu, and send to x.bat. The folder will then be opened in its own window, and the only part of the file tree visible will be that of the folder selected and its subfolders.

Its useful when rearranging folders. Have two windows one for each folder working with It stops the jumping around that otherwise happens, and loosing the original place that moving data from.

I typically edit short cuts to use the /e/root switches.