Scott Hanselman

Results 32 comments of Scott Hanselman

1. the [version.dat](https://github.com/faniereynders/dotnet-sdk-helpers/pull/16/commits/d06e2419a4dffc9664ec34af8bb4e520ed4e64cb#diff-d5f66abc6a475fcbe29d1f6844314580L88 ) temp file should also be over in %dp0, not in the current dir. 2. Same with download.dat. 3. DownloadFile is wrong, as it takes a URL...

Try this instead of the DownloadFile() call. It'll give you a free progress bar. `powershell -Command "Import-Module BitsTransfer; Start-BitsTransfer -Source '%url%' -Destination '%exe%'" `

Also, I hear you about the tools and jq and all that, but I'm also wondering if: ``` C:\Users\scott> $url = "https://raw.githubusercontent.com/dotnet/core/master/release-notes/releases.json" $j = Invoke-WebRequest -Uri $url | ConvertFrom-Json $j...

Good question. Perhaps, but your cmd approach allows us to use cmd.exe (which I use a lot) so perhaps we do a hybrid to start? You've made it modular in...

LOL I literally came here to do a PR with %dp0 for this. ;) @faniereynders This same change that showed up the most recent commit also needs to take into...

@ShaneCurcuru Sounds great!

Gotcha. OK, good to know. Thanks for the info! Not sure about node or powershell, but I can tell you that Windows itself is dark/bright per their APIs. I think...

I just got tired after 20 years. I'll try to get back on the horse.