Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commands fail when cd to a file share on windows #4990

Copy link
Copy link
@roberocity

Description

@roberocity
Issue body actions

When working on a file share simple commands fail with Cannot find path error message.

Steps to reproduce

cd \\someactual\fileshare\path

ls

rm *.zip

cd ..\another_path

Expected behavior

Changes working directory to file share path.

Lists the contents of the directory.

Removes any .zip file

Changes directory to another path on the share.

Actual behavior

Changes working directory to file share path.

ls : Cannot find path '\someactual\fileshare\path' because it does not exist.
At line:1 char:1
+ ls
+ ~~
    + CategoryInfo          : ObjectNotFound: (\amcd12f02\devgp\releases\1.dev:String) [Get-ChildItem], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand

Same Cannot find path error for all commands.

Environment data

> $PSVersionTable


Name                           Value
----                           -----
PSVersion                      6.0.0-beta
PSEdition                      Core
GitCommitId                    v6.0.0-beta.7
OS                             Microsoft Windows 6.1.7601 S
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0
Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

Resolution-FixedThe issue is fixed.The issue is fixed.WG-Engine-Providersbuilt-in PowerShell providers such as FileSystem, Certificates, Registry, etc.built-in PowerShell providers such as FileSystem, Certificates, Registry, etc.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.