From 61ddeccfe9d40707d4e7be0b004204627bd14c1a Mon Sep 17 00:00:00 2001 From: D Jeffrey <44452180+D-Jeffrey@users.noreply.github.com> Date: Mon, 1 Apr 2024 00:20:35 -0600 Subject: [PATCH] Update EmbroideryCollection-Cleanup.ps1 --- EmbroideryCollection-Cleanup.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/EmbroideryCollection-Cleanup.ps1 b/EmbroideryCollection-Cleanup.ps1 index 2d4529d..afdb640 100644 --- a/EmbroideryCollection-Cleanup.ps1 +++ b/EmbroideryCollection-Cleanup.ps1 @@ -115,6 +115,7 @@ $script:CloudStatusGood = $true $shell = New-Object -ComObject 'Shell.Application' $downloaddir = (New-Object -ComObject Shell.Application).NameSpace('shell:Downloads').Self.Path +$downloaddir = "C:\Users\darre\source\repos\Embroidery-File-Organize" if (!(test-path $downloaddir)) { Write-Error "The Download Directory does not work, please correct the script" return @@ -2043,7 +2044,7 @@ function ProcessZipContents { if (test-path -Path $buildpath) { $tempPath = get-item -path $buildpath } else { - write-warning "Could not access: $(buildpath.substring($tmpdir.Length))" + write-warning "Could not access: $($buildpath.substring($tmpdir.Length))" $tempPath = $null }