Skip to content

docs: document that shell.trashItem requires backslashes - #49481

Merged
jkleinsc merged 1 commit into
41-x-yfrom
trop/41-x-y-bp-docs-document-that-shell-trashitem-requires-backslashes-1769019670997
Jan 21, 2026
Merged

jkleinsc merged 1 commit into
41-x-yfrom
trop/41-x-y-bp-docs-document-that-shell-trashitem-requires-backslashes-1769019670997

Conversation

@trop

@trop trop Bot commented Jan 21, 2026

Copy link
Copy Markdown
Contributor

Backport of #49038

See that PR for details.

Notes: none

…shes

In Windows many functions relating to files (e.g. shell.openItem, the Node fs functions, as well as native Win32 APIs) will accept either type of slash / or \ as a folder separator.

shell.trashItem does not work with / as folder separator in Windows. This documentation change explains that.

See also:
#28831

Co-authored-by: sam marshall <[email protected]>
@trop
trop Bot requested a review from a team January 21, 2026 18:21
@trop trop Bot added 41-x-y backport This is a backport PR semver/none labels Jan 21, 2026
@jkleinsc
jkleinsc merged commit 95417f9 into 41-x-y Jan 21, 2026
@release-clerk

release-clerk Bot commented Jan 21, 2026

Copy link
Copy Markdown

No Release Notes

@jkleinsc
jkleinsc deleted the trop/41-x-y-bp-docs-document-that-shell-trashitem-requires-backslashes-1769019670997 branch January 21, 2026 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant