::::::::: PowerShell :::::::::
Tuesday, November 08, 2005
 
/\/\o\/\/ on MSH (Monad): MSH start. Function

Another fun msh script by "/\/\o\/\/".

Here is a bit modified version that I have put on my "profile.msh".
This one basically takes a directory to open Windows Explorer for.
Default is the current directory so...


# original code author: /\/\o\/\/ 
function startHere {
param([string] $dir = (pwd).path)

$sh = new-object -com shell.application
$sh.explore($dir)
}
 
Comments: Post a Comment

Links to this post:

Create a Link



<< Home
Let's get lazy with PowerShell!

Name:
Location: Flushing, NY, United States

Experimenting with a different format of blogs...

Links
ARCHIVES
10/01/2005 - 11/01/2005 / 11/01/2005 - 12/01/2005 / 12/01/2005 - 01/01/2006 / 01/01/2006 - 02/01/2006 / 02/01/2006 - 03/01/2006 / 03/01/2006 - 04/01/2006 / 04/01/2006 - 05/01/2006 / 05/01/2006 - 06/01/2006 / 06/01/2006 - 07/01/2006 / 07/01/2006 - 08/01/2006 / 08/01/2006 - 09/01/2006 / 10/01/2006 - 11/01/2006 / 11/01/2006 - 12/01/2006 /


Powered by Blogger