Before Resharper came along and clutter my directories with files, I used tab-completion to launch my solution files from the command line using:
START MyApplication.sln
But, with two other resharper files now preceeding the solution file I needed another way to launch the solutution file. Here’s the script that I came up with:
@ECHO OFF
FOR %%n IN (*.sln) DO START %%n
If you have more than one solution file in the same directory, this script is not for you, but that is not a likely scenario. I saved this file as sln.bat and put in the \windows\system32 directory, although any directory in your PATH will do.
No comments:
Post a Comment