如果您是大多数任务都使用命令提示符实用程序的人(uses the Command Prompt utility for most of your tasks),您可能经常会在屏幕上同时打开多个实用程序窗口。当窗口数量增加时,管理这些窗口变得有点困难。选项卡式命令提示符(Command Prompt)界面可以在这里为您提供帮助。
就像您的浏览器选项卡一样,您也可以在命令提示符(Command Prompt)窗口中启用选项卡。这样您就不需要为每个CMD任务打开一个新窗口。您可以为命令提示符(Command Prompt)实例打开一个新选项卡。它可以帮助您避免让您的屏幕因所有分散在各处的CMD窗口而变得混乱。
这可以使用您的Windows计算机上可用的一些应用程序来实现。
将 Windows 终端用于选项卡式命令提示符(Use The Windows Terminal For Tabbed Command Prompt)
Windows 10 计算机上当前的命令提示符(Command Prompt)实用程序不附带选项卡功能。所以目前,运行该实用程序的多个实例(run multiple instances of the utility)的唯一方法是为每个实例打开一个新窗口。
但是,现在Microsoft Store 上提供了 Windows 终端应用程序(the Windows Terminal app available on the Microsoft Store)的预览版。它可以帮助您将选项卡式界面功能添加到您的计算机,以便您可以打开新选项卡而不是Windows来运行您的命令。
- 在您的 PC 上启动Microsoft Store应用程序,然后搜索并单击Windows Terminal Preview。在您的计算机上安装该应用程序。
- 启动应用程序,您会立即注意到顶部应用程序名称旁边的几个新图标。X图标可让您关闭屏幕上打开的当前选项卡
。+ (加号)图标可让您在实用程序的同一窗口中打开一个新选项卡。向下箭头(down-arrow)图标可让您选择要为其打开新选项卡的实用程序(PowerShell或(PowerShell)CMD )(CMD)。
- 您可以从任何可用选项中进行选择,实用程序中将打开一个新选项卡。您可以像管理浏览器选项卡一样管理这些选项卡。
Windows 终端(Windows Terminal)目前处于预览阶段,这意味着它目前尚未准备好包含在Windows安装中。但是,用不了多久,它就会作为Windows机器上的库存应用程序出现。
在 Windows 中将控制台用于选项卡式终端(Using Console For a Tabbed Terminal In Windows)
在Windows机器上启用选项卡式(Windows)命令提示符(Command Prompt)的另一种方法是使用第三方应用程序。有一个名为Console(免费)的应用程序允许您在计算机上拥有一个选项卡式CMD界面。
此应用程序提供了比Windows 终端(Windows Terminal)应用程序更多的功能。
- 下载控制台(Console)并从ZIP存档中提取文件。
- 双击Console.exe以启动应用程序。
- 它会立即打开您的第一个命令提示符(Command Prompt)选项卡。要添加新选项卡,请单击顶部的文件菜单,然后选择(File)新建选项卡(New Tab),然后选择Console2。
- 您可以通过单击任何选项卡名称在选项卡之间切换。您也可以自定义这些选项卡的名称。
- 要关闭选项卡,您可以单击选项卡右上角的X图标或选择文件(File)菜单,然后选择关闭选项卡(Close Tab)。
这个实用程序已经存在了很长时间,并且是使用选项卡式命令提示符(Command Prompt)界面的好工具。
使用 PowerCMD 获取选项卡式命令提示符(Get The Tabbed Command Prompt With PowerCMD)
PowerCMD(免费)是另一种向命令提示(Command Prompt)实用程序添加选项卡式功能的方法。此应用程序提供的功能远远超过您使用计算机上的默认实用程序所获得的功能。
- 在您的 PC 上下载并安装该应用程序。
- 右键单击(Right-click)桌面上的应用程序图标,然后选择Run as administrator。
- 该应用程序将在其中打开一个CMD选项卡启动。要打开新选项卡,请单击+图标或选择File菜单,然后选择New Prompt Window(虽然它显示Window,但它实际上打开了一个选项卡)。
- 您可以像在其他应用程序中一样单击它们来访问打开的选项卡。
使用 ConEmu 启用选项卡式命令提示符(Enable Tabbed Command Prompt Using ConEmu)
ConEmu是一个开源免费工具,可让您在Windows机器上的命令提示符(Command Prompt)窗口中打开多个选项卡。它带有一个基本且整洁的用户界面,因此您可以专注于您的实际命令(focus on your actual commands)。
- 在您的计算机上下载并安装该应用程序。
- 系统将要求您配置应用程序选项。它是可选的,您也可以稍后再做。
- 单击+(加号)以添加新选项卡。您会在此标志旁边看到打开的标签页数。
How To Use The Tabbed Command Prompt In Windows 10
If you’re someone who uses the Command Prompt utility for most of your tasks, you likely often have multiple utility windows open at the same time on your screen. Managing these windows becomes a bit difficult when the number of the windows grows. A tabbed Command Prompt interface can help you out here.
Just like your browser tabs, you can also enable tabs in your Command Prompt windows. That way you don’t need to open a new window for each of your CMD tasks. You can open a new tab instead for your Command Prompt instances. It helps you avoid getting your screen cluttered with all your CMD windows scattered here and there.
This is possible using some of the apps available for your Windows computer.
Use The Windows Terminal For Tabbed Command Prompt
The current Command Prompt utility on your Windows 10 computer doesn’t come with the tab feature. So for now, the only way to run multiple instances of the utility is to open a new window for each.
However, there’s now a preview version of the Windows Terminal app available on the Microsoft Store. It helps you add the tabbed interface feature to your computer so you can open new tabs instead of Windows to run your commands.
- Launch the Microsoft Store app on your PC and search for and click on Windows Terminal Preview. Install the app on your computer.
- Launch the app and you’ll immediately notice a few new icons right next to the app name at the top.
The X icon lets you close the current tab that’s open on your screen.
The + (plus) icon lets you open a new tab in the same window in the utility.
The down-arrow icon lets you choose the utility you want to open a new tab for (PowerShell or CMD).
- You can choose from any of the available options and a new tab will open in the utility. You can manage these tabs just like how you do your browser tabs.
Windows Terminal is currently in the preview stage meaning it isn’t currently ready to be included in the Windows installations. However, it won’t be too long before it comes as a stock app on your Windows machines.
Using Console For a Tabbed Terminal In Windows
Another way to enable tabbed Command Prompt on your Windows machine is to use a third-party app. There’s an app called Console (free) that allows you to have a tabbed CMD interface on your computer.
This app offers several more features than the Windows Terminal app.
- Download Console and extract the files from the ZIP archive.
- Double-click on Console.exe to launch the app.
- It’ll immediately open your first Command Prompt tab. To add a new tab, click on the File menu at the top and select New Tab followed by Console2.
- You can switch between your tabs by clicking on any of the tab names. You can customize the names of these tabs as well.
- To close a tab, you can either click on the X icon at the top-right corner of the tab or select the File menu followed by Close Tab.
This utility’s been around for quite a long time and is a good one to use a tabbed Command Prompt interface.
Get The Tabbed Command Prompt With PowerCMD
PowerCMD (free) is yet another way to add tabbed functionality to your Command Prompt utility. This app offers much more than what you get with the default utility on your computer.
- Download and install the app on your PC.
- Right-click on the app icon on your desktop and choose Run as administrator.
- The app will launch with a CMD tab open in it. To open new tabs, either click on the + icon or select the File menu followed by New Prompt Window (although it says Window, it opens a tab actually).
- You can access the open tabs by clicking on them like you do in other apps.
Enable Tabbed Command Prompt Using ConEmu
ConEmu is an open-source and free tool that lets you open multiple tabs in a Command Prompt window on Windows machines. It comes with a basic and clutter-free user interface so you can focus on your actual commands.
- Download and install the app on your computer.
- You’ll be asked to configure the app options. It’s optional and you can do it at a later time, too.
- Click on the + (plus) sign to add a new tab. You’ll see the number of open tabs right next to this sign.