Community
I would like a help with my macro, it renames only the first folder, I would rename all with my default.
STRING LIST $NomesInvalidos = get_folders("TOOLPATH")
FOREACH pastas IN $NomesInvalidos {
}
STRING $nome = "Setup_"
INT $count = 1
STRING $NovoNome = $nome + $count
RENAME FOLDER $NomesInvalidos[0] $NovoNome
$count = $count + 1
Solved! Go to Solution.
Solved by Sean570. Go to Solution.
This should fix the macro
STRING LIST $NomesInvalidos = get_folders("TOOLPATH")
INT $count = 1
FOREACH pastas IN $NomesInvalidos {
STRING $nome = "Setup_"
STRING $NovoNome = $nome + $count
RENAME FOLDER $pastas $NovoNome
$count = $count + 1
}
Can't find what you're looking for? Ask the community or share your knowledge.