When I load this command I get the error at the bottom.
PS C:\WINDOWS\system32> $intFolders = 10
$intPad
$i = 1
New-Variable -Name strPrefix -Value "testFolder" -Option constant
do {
if ($i -lt 10)
{$intPad=0
New-Item -Path C:\mytempFolder -Name $strPrefix$intPad$i -Type directory}
else
I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.