Back to Archive
Computer Science
QID: #14139
Subject: Computer Science
Status:
Order This Question Now
Create a variable Sintfolders that has a value of 10 Create a variable SintPad that has a value of 0 . Create a variable Si that has a value of 1 . Create a variable for the new folder o New-Variable -Name strPrefix -Value "testfolder" -Option constant CREATING THE LOOP STATEMENT . Do Set If condition o if (Si -It 10) . Set Command when Condition is True o {New-Item -path C: -name $strprefix$intpad$i -type directory} . Set Command when Condition is False o else o {New-Item -path C: -name $streprefix$i -type directory} . Set Si to increment by 1 o Sitt o Close the Do Statement using }
ZERO AI
Human Written
Human Written
PHD EXPERTS
Verified
Verified
TURNITIN
Clean Report
Clean Report
24/7 SUPPORT
Instant Help
Instant Help