diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-02-14 16:53:29 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-02-14 16:53:29 -0800 |
| commit | 444f28dd24f4bffa3e0ee450e8fbbe30340086b4 (patch) | |
| tree | f7bd2b893b0d1f000901bcca7198fd59ca8f4dd1 /scripts/getProgramFiles32bit.ps1 | |
| parent | a7c5063d4d08c44c100eb62726ef31a95c1e5121 (diff) | |
| download | vcpkg-444f28dd24f4bffa3e0ee450e8fbbe30340086b4.tar.gz vcpkg-444f28dd24f4bffa3e0ee450e8fbbe30340086b4.zip | |
Add functions to find Program Files folders on the powershell side
Diffstat (limited to 'scripts/getProgramFiles32bit.ps1')
| -rw-r--r-- | scripts/getProgramFiles32bit.ps1 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/getProgramFiles32bit.ps1 b/scripts/getProgramFiles32bit.ps1 new file mode 100644 index 000000000..fd7167191 --- /dev/null +++ b/scripts/getProgramFiles32bit.ps1 @@ -0,0 +1,11 @@ +[CmdletBinding()] +param( + +) + +if (Test-Path env:PROGRAMFILES`(X86`)) +{ + return ${env:PROGRAMFILES(X86)} +} + +return ${env:PROGRAMFILES}
\ No newline at end of file |
