Replace $env:TEMP

This commit is contained in:
ili101
2019-08-26 15:55:43 +03:00
parent 6650ecd5b8
commit d1592f8739
16 changed files with 73 additions and 86 deletions

View File

@@ -5,7 +5,7 @@
$measure = "Open"
)
$xl = "$env:TEMP\Stocks.xlsx"
$xl = Join-Path ([IO.Path]::GetTempPath()) 'Stocks.xlsx'
Remove-Item $xl -ErrorAction SilentlyContinue