I have a .bat file that is supposed to download an image from a website and save it somewhere on your computer using Bitsadmin, but whenever I try to run it, I get this error:
DISPLAY: JOB TYPE: DOWNLOAD STATE: ERROR
PRIORITY: NORMAL FILES: 0 / 1 BYTES: 0 / UNKNOWN
Unable to complete transfer.
ERROR FILE: http://website.com/pictures/picture.png -> C:\
ERROR CODE: 0x80190194
ERROR CONTEXT: 0x00000005
I honestly have no idea what that means so I would love some help with it. Here is my current code (The website in the real code is something else, this is just an example)
@echo off && set /p name=Name:
bitsadmin /transfer job /download /priority normal C:\Users\user\Downloads\%skin%.png c:\%name%.png
pause
Thanks.
Solved. I was trying to save it in a restricted save path.
User contributions licensed under CC BY-SA 3.0