windows/*.md: make placeholders more compatible with CLIP ones (#9872)
* Make placeholders more compatible with CLIP ones * Update pages/windows/doskey.md Co-authored-by: Jack Lin <blueskyson1401@gmail.com> * Update pages/windows/doskey.md Co-authored-by: Jack Lin <blueskyson1401@gmail.com> --------- Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
This commit is contained in:

committed by
GitHub

parent
dcb6919bbf
commit
c52cc074d9
@@ -6,8 +6,8 @@
|
||||
|
||||
- Copy a security descriptor from one file to another:
|
||||
|
||||
`$OriginAcl = Get-Acl -Path {{path/to/file}}; Set-Acl -Path {{path/to/file}} -AclObject $OriginAcl`
|
||||
`$OriginAcl = Get-Acl -Path {{path\to\file}}; Set-Acl -Path {{path\to\file}} -AclObject $OriginAcl`
|
||||
|
||||
- Use the pipeline operator to pass a descriptor:
|
||||
|
||||
`Get-Acl -Path {{path/to/file}} | Set-Acl -Path {{path/to/file}}`
|
||||
`Get-Acl -Path {{path\to\file}} | Set-Acl -Path {{path\to\file}}`
|
||||
|
Reference in New Issue
Block a user