We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Noticed that it's not getting created relative to the root on Linux.
eg.
PS /home/david> $tmpDir = [System.IO.Path]::Combine($PWD, '_TMP') PS /home/david> $tmpDir /home/david/_TMP PS /home/david> New-Item -Name $tmpDir -ItemType Directory -Force -ErrorAction Ignore Directory: /home/david/home/david Mode LastWriteTime Length Name ---- ------------- ------ ---- d---- 07/23/2021 15:44 _TMP
Looks like New-Item is always relative to current directory on Linux. Strange but oh well.
New-Item
The text was updated successfully, but these errors were encountered:
Create directory is always relative to current directory
c0f9928
Fixes zyborg#27
Successfully merging a pull request may close this issue.
Noticed that it's not getting created relative to the root on Linux.
eg.
Looks like
New-Item
is always relative to current directory on Linux. Strange but oh well.The text was updated successfully, but these errors were encountered: