Answer the question
In order to leave comments, you need to log in
How to insert %appdata% environment variable into script?
Tell me how to correctly insert the %appdata% environment variable into the powershell script?
PowerShell (New-Object System.Net.WebClient).DownloadFile('https://site.com/installer.msi','%APPDATA%\installer.msi')
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question