When use mkdir
with powershell in windows, there is always messages after creating folders. How I can get rid of these messages?
Asked
Active
Viewed 309 times
0

JalalJaberi
- 2,417
- 8
- 25
- 41
-
1http://stackoverflow.com/questions/5260125/whats-the-better-cleaner-way-to-ignore-output-in-powershell – itdoesntwork Sep 22 '14 at 00:59
1 Answers
5
$null = mkdir folder
Or
[Void](mkdir folder)
Or
Mkdir folder | out-null
Or
Mkdir folder >$null

Jason Shirk
- 7,734
- 2
- 24
- 29

walid toumi
- 2,172
- 1
- 13
- 10