Is there an alternative way to do this?
Thank you,
Code: Select all
folder := "test"
url := "https://www.autohotkey.com/download/ahk.zip"
filename := A_Desktop "\" folder
If !FileExist(filename)
FileCreateDir, %filename%
UrlDownloadToFile, %url%, %filename%
ExitApp