Skip to content

Commit ec5eb2f

Browse files
committed
Script Updates
1 parent f84b1e7 commit ec5eb2f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Get-SysinternalsSuite.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ extracting the contents. If you want to keep the file, specify the save
1818
directory with this parameter.
1919
#>
2020

21-
param ( [string] $Extract = $(throw 'The extract directory is required' ) ,
21+
param ( [string] $Extract = ($env:userprofile + "\utils\sysinternals" ) ,
2222
[string] $Save )
2323

2424
function CreateDirectoryIfNeeded ( [string] $directory )

Microsoft.PowerShell_profile.ps1

+2
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,11 @@ Get-ChildItem scripts:\Lib*.ps1 | % {
5555

5656
# Customize the path for PS shells
5757
append-path (split-path $profile) # I put my scripts in the same dir as my profile script
58+
append-path ("C:\Program Files\7-Zip\")
5859
append-path ($env:userprofile + "\utils\bin")
5960
append-path ($env:userprofile + "\utils\sysinternals")
6061

62+
6163
# Tell UNIX utilities (particulary svn.exe) to use Notepad2 for its editor
6264
set-content Env:\VISUAL 'notepad2.exe';
6365

0 commit comments

Comments
 (0)