.htaccess 通过htaccess上的用户批量文件web登录

.htaccess 通过htaccess上的用户批量文件web登录,.htaccess,batch-file,login,ftp,.htaccess,Batch File,Login,Ftp,我有一个simples任务的问题,我需要一个.BAT文件来打开我的firefox并通过user/pass-on-htaccess登录 要打开网站: start firefox https://www.mywebsite.com/restricted 但是登录是这样的吗 start firefox user|pass@https://www.mywebsite.com/restricted 但这不起作用 有什么想法吗 谢谢 您是否尝试在链接中包含用户和密码: https://user:pass

我有一个simples任务的问题,我需要一个.BAT文件来打开我的firefox并通过user/pass-on-htaccess登录

要打开网站:

start firefox https://www.mywebsite.com/restricted
但是登录是这样的吗

start firefox user|pass@https://www.mywebsite.com/restricted
但这不起作用

有什么想法吗


谢谢

您是否尝试在链接中包含用户和密码:

https://user:pass@www.mywebsite.com/restricted

您更需要selenium或类似的自动化插件。该网站要求确认。我试着用ENTER命令包含它,但它不起作用。你能看一下吗<代码>启动firefoxhttps://user:pass@www.mywebsite.com/restricted set WshShell=WScript.CreateObject(“WScript.Shell”)WScript.Sleep 1000 WshShell.SendKeys“{ENTER}”WScript.Quit()哦,没关系。你帮了我很多。谢谢