I'm working on a code to download file, within Chrome, it will get me the save-file popup.
The final line is :
Code: Select all
run D:\other\cent23750\chrome.exe %f1s%
Sometimes this link will just redirect to a different domain, and will visit as a page, instead of save-file popup. (And the new page url is VALID, no 404 etc.)
How to code: if redirect happens, then...... ?
Thanks.