简体   繁体   中英

How to path to a folder in powershell 2.0 that has '[]' in the folder name

Im trying to delete folders from a path that has these characters inside the folder name [] like this

c:\\blah\\blah\\[_EFI_HotFolder_]\\[MoveFolder] .

I'm very new to PS i have tried many things with no success and cant seem to find any topics on this either.

PS 2.0

您可以使用-LiteralPath来指定路径检查帮助Get-ChildItem -full,如Bill所建议的那样

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM