Close
I've tried doing this with 2 bat files. And it seems to "work" as in, I get no errors, but it doesn't actually upload anything. Any ideas?

upload.bat
call upload-script.bat "Z:\Some where\file.jpg" "tag1 tag2"

upload-script.bat contains the what petopeto said above. Except I've replaced user with my username and pw with my password. As well as added "-k" as the 'booru I'm uploading to uses https and a self-signed cert.

curl https://someurl.com/post/create.xml -H Expect: -F post[file]=@%1 -F post[tags]=%2 -F user[name]=username -F user[password]=password -k

In a cmd window I enter upload.bat and it displays the lines in both bat files on seperate lines and nothing happens.

If I change things I get errors, but I can't get it to actually work.