Command for Set-Clipboard (-Path and -LiteralPath) parameter no longer exist
See original GitHub issueIn version 5.0 and 5.1 there was a -Path
and -LiteralPath
parameter for Set-Clipboard
.
Why was -LiteralPath
and -Path
removed or is that an oversight not to include them?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Path - How do I find the version of PowerShell required?
I would like to know the version of PowerShell required for this command. If I select the Set-Clipboard and press F1 in ISE...
Read more >Resolve-Path (Microsoft.PowerShell.Management)
Specifies the path to be resolved. The value of the LiteralPath parameter is used exactly as typed. No characters are interpreted as wildcard...
Read more >Set-Clipboard (Microsoft.PowerShell.Management)
Indicates that the cmdlet does not clear the clipboard and appends content to it. Type: SwitchParameter. Position: Named. Default value: None. Accept pipeline ......
Read more >Set-Location - PowerShell Command - PDQ
Specifies a path of the location. The value of the LiteralPath parameter is used exactly as it is typed. No characters are interpreted...
Read more >ToolFunctions.ps1 0.7.0
Asserts that a path exists. Throws if the path does not exist. .PARAMETER PassThru. True to return the path. #> function Assert-Path {...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Instead of
FILE_NAME
, one could usetext/uri-list
with File URI Specification, like in Drag-and-Drop Protocol for the X Window System (XDND). This would be suitable for copying multiple file references. Or even use bothFILE_NAME
andtext/uri-list
target atoms, but that would require changes in xclip, which currently supports only one target atom at a time.For X11, Inter-Client Communication Conventions Manual (ICCCM) version 2.0 section 2.6.2 mentions the
FILE_NAME
target atom, which could be used forSet-Clipboard -LiteralPath
. The xclip program appears to support-target FILE_NAME
.