ignore LNK files too..
This commit is contained in:
parent
ded96f9524
commit
1c50fb7e51
@ -71,6 +71,8 @@ $Local_Folder_List = get-childitem -path $Local_Revit_Root -Depth 0
|
|||||||
foreach ($folder in $Local_Folder_List) {
|
foreach ($folder in $Local_Folder_List) {
|
||||||
if ($folder.Name -eq "!TEMPLATE") {
|
if ($folder.Name -eq "!TEMPLATE") {
|
||||||
# Do nothing
|
# Do nothing
|
||||||
|
} elseif ($folder.Name -like "*.lnk") {
|
||||||
|
# Do Nothing
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$FolderName = $folder.Name
|
$FolderName = $folder.Name
|
||||||
|
Loading…
Reference in New Issue
Block a user