我可以为Internet Explorer设置不同的数据目录吗?

时间:2022-12-06 11:43:17

In Google Chrome, I can provide the command-line argument --user-data-dir="..." to have Chrome use a different directory for state like cookies, cache, and so forth. This makes it possible to trivially load web pages from a "fresh" browser and simulate multiple independent users.

在Google Chrome中,我可以提供命令行参数--user-data-dir =“...”,让Chrome使用不同的目录来处理Cookie,缓存等状态。这使得从“新鲜”浏览器轻松加载网页并模拟多个独立用户成为可能。

How can I do the same thing with Internet Explorer (either 6, 7, or 8)?

如何使用Internet Explorer(6,7或8)执行相同的操作?

Edit: It's looking like IE always uses the current user's profile, so you have to set up multiple users on the system and switch between them. What a pain.

编辑:看起来IE总是使用当前用户的配置文件,因此您必须在系统上设置多个用户并在它们之间切换。多么痛苦。

2 个解决方案

#1


1  

One suggestion I can think of would be to create multiple user accounts on the box, and then create shortcuts to Internet Explorer with the RunAs command or use the Run As... context menu option.

我能想到的一个建议是在框上创建多个用户帐户,然后使用RunAs命令创建Internet Explorer的快捷方式,或使用Run As ...上下文菜单选项。

See also:
http://www.krunk4ever.com/blog/2006/12/01/how-to-run-explorerexe-as-another-user/

另见:http://www.krunk4ever.com/blog/2006/12/01/how-to-run-explorerexe-as-another-user/

#2


0  

Heh.

With Chrome, FF, etc. I can actually have multiple versions on a single machine and test them without interference. IE requires me to set up VMs. Hence, the bulk of the code i churn out only gets tested rigorously on IE6 (since that's the install on the host OS). IE, if you'll pardon my slang, is a bitch - i've no idea how they manage to test it effectively within MS.

使用Chrome,FF等我可以在一台机器上实际拥有多个版本,并在不受干扰的情况下对其进行测试。 IE要求我设置VM。因此,我只能在IE6上严格测试大部分代码(因为那是主机操作系统上的安装)。 IE,如果你原谅我的俚语,是个婊子 - 我不知道他们是如何设法在MS中有效地测试它的。

That said... You can sort of get what you want. If you're running XP and aren't on a domain, or are running Vista, you can configure "Fast User Switching". Then, configure multiple user accounts. Finally, log into each one, launch IE in each one, and rest assured they're using different profiles / data directories. Alternately, if you're running one of the Server versions of Windows (i'm partial to 2k3 r2), you can set up Terminal Services and simply use RDC to create multiple concurrent logins.

那说......你可以得到你想要的东西。如果您运行的是XP且不在域中,或者正在运行Vista,则可以配置“快速用户切换”。然后,配置多个用户帐户。最后,登录每一个,在每个中启动IE,并确保他们使用不同的配置文件/数据目录。或者,如果您正在运行Windows的某个服务器版本(我偏向2k3 r2),您可以设置终端服务并只使用RDC创建多个并发登录。

#1


1  

One suggestion I can think of would be to create multiple user accounts on the box, and then create shortcuts to Internet Explorer with the RunAs command or use the Run As... context menu option.

我能想到的一个建议是在框上创建多个用户帐户,然后使用RunAs命令创建Internet Explorer的快捷方式,或使用Run As ...上下文菜单选项。

See also:
http://www.krunk4ever.com/blog/2006/12/01/how-to-run-explorerexe-as-another-user/

另见:http://www.krunk4ever.com/blog/2006/12/01/how-to-run-explorerexe-as-another-user/

#2


0  

Heh.

With Chrome, FF, etc. I can actually have multiple versions on a single machine and test them without interference. IE requires me to set up VMs. Hence, the bulk of the code i churn out only gets tested rigorously on IE6 (since that's the install on the host OS). IE, if you'll pardon my slang, is a bitch - i've no idea how they manage to test it effectively within MS.

使用Chrome,FF等我可以在一台机器上实际拥有多个版本,并在不受干扰的情况下对其进行测试。 IE要求我设置VM。因此,我只能在IE6上严格测试大部分代码(因为那是主机操作系统上的安装)。 IE,如果你原谅我的俚语,是个婊子 - 我不知道他们是如何设法在MS中有效地测试它的。

That said... You can sort of get what you want. If you're running XP and aren't on a domain, or are running Vista, you can configure "Fast User Switching". Then, configure multiple user accounts. Finally, log into each one, launch IE in each one, and rest assured they're using different profiles / data directories. Alternately, if you're running one of the Server versions of Windows (i'm partial to 2k3 r2), you can set up Terminal Services and simply use RDC to create multiple concurrent logins.

那说......你可以得到你想要的东西。如果您运行的是XP且不在域中,或者正在运行Vista,则可以配置“快速用户切换”。然后,配置多个用户帐户。最后,登录每一个,在每个中启动IE,并确保他们使用不同的配置文件/数据目录。或者,如果您正在运行Windows的某个服务器版本(我偏向2k3 r2),您可以设置终端服务并只使用RDC创建多个并发登录。