Stuart Leeks - Application Development Consultant
Translate This Page
Translate this page
ADO.Net Data Services
ASP.NET Web API
Visual Studio Code
Browse by Tags
Tagged Content List
Finding files in the PATH with PowerShell
Just a quick post this time! I frequently find myself wanting to know where a command in my PATH is. Earlier today it was to work out why DNVM beta4 was being loaded despite installing DNVM beta6. (It was the installation from Visual Studio!). For this I wanted to find out which folder in the path had...
2 Jul 2015
Setting the window title for a command prompt
Very quick tip in what seems to have become a mini-series ( Part 1 , Part 2 ). I often find myself with a number of command windows open and switching between them can be problematic. To address this I use the “title” command to set the window title, and have found that setting the title to match the...
17 Aug 2009
Finding files in your path environment
Occasionally I’m working at the command prompt and have a utility that is in the path environment, but need to find where the file actually is. So, I wrote a little batch file that does exactly that @echo off echo Searching path for %1 if "%~$PATH:1"=="" goto :notfound echo Found...
17 Aug 2009
PowerShell script to clean and zip a directory
As part of my role I’m often sending sample code to customers. Sometimes this is a small snippet inline in an email, but often it will be a zipped up Visual Studio solution. Simply zipping up the folder as-is ends up including bin and obj directories which bloat the zip. Performing a clean in Visual...
13 Aug 2009
Page 1 of 1 (4 items)
© 2015 Microsoft Corporation.
Privacy & Cookies