Skip to content

Commit

Permalink
Add Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
reuteras committed Dec 21, 2023
1 parent 0c7c890 commit 2b33513
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions setup/wscommon.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,27 @@ $null=$LOCAL_PATH
$null=$PDFSTREAMDUMPER

# Declare helper functions


<#
.SYNOPSIS
Adds a directory to the user's PATH environment variable.
.DESCRIPTION
The Add-ToUserPath function adds a specified directory to the user's PATH environment variable. This allows the user to run executables located in the specified directory from any location in the command prompt.
.PARAMETER dir
Specifies the directory to be added to the PATH environment variable. The directory must be a valid path.
.EXAMPLE
Add-ToUserPath -dir "C:\Program Files\MyApp"
Adds the directory "C:\Program Files\MyApp" to the user's PATH environment variable.
.NOTES
Author: Your Name
Date: Current Date
#>

function Add-ToUserPath {
param (
[Parameter(Mandatory=$true)]
Expand Down

0 comments on commit 2b33513

Please sign in to comment.