Skip to content

Commit e13e027

Browse files
+ literalPath.ps1
1 parent 01616ab commit e13e027

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
$fileName = 'a file with [brackets] in its name.abc'
2+
3+
$null = new-item $fileName
4+
remove-item $fileName
5+
6+
#
7+
# File still exists
8+
#
9+
get-childItem *.abc
10+
11+
remove-item -literalPath $fileName

0 commit comments

Comments
 (0)