Symbolic Link In Windows -
string command = args[0].ToLower();
A feature that allows users to:
[DllImport("kernel32.dll", CharSet = CharSet.Unicode, SetLastError = true)] static extern bool CreateSymbolicLink(string lpSymlinkFileName, string lpTargetFileName, int dwFlags); symbolic link in windows
In Windows, symbolic links are implemented as a file type that contains a path to the target file or directory. When a program tries to access a symbolic link, the operating system resolves the link by following the path to the target file or directory. string command = args[0]
switch ($Action) "Create" if (-not $LinkPath -or -not $TargetPath) Write-Host "Usage: -Action Create -LinkPath <path> -TargetPath <path> [-Directory] [-Junction] [-Relative]" return string command = args[0].ToLower()