How to open multiple programs in Windows at once如何打开多个程序在Windows上一次
Posted on April 7, 2008 at 5:22 am发布于2008年4月7日,在上午05时22分
Why would you ever want to open multiple programs at once in Windows ?为什么你会想要打开多个程序时,一旦在Windows吗? Recently, I had someone at my office ask me how they can open several desktop applications at one time without having to click on each application individually.最近,我已有人在我的办公室问我,他们如何才能打开几个桌面应用程序在同一时间,无须点击每个单独的应用。
Normally, I would have called the person lazy and told them to stop bothering me, but since this person was performing a repetitive task and needed to open the same applications every day, I thought I would come up with a solution.一般情况下,我会叫的人懒惰,并告诉他们停止打扰我,但由于此人是在执行一项重复性的任务,需要开放,同时申请每一天,我以为我会想出一个解决办法。
I also found that I usually open a couple of programs every morning no matter what: Firefox for Internet browsing, Outlook for checking email, and Visual Foxpro for writing code (since I’ma programmer).我也发现,我通常会开放一对夫妇的节目,每天早上无论什么: Firefox来浏览网际网路时,前台检查电子邮件,以及Visual FoxPro中书写代码(因为我是程序员) 。 So instead of clicking on three icons, I decided to create what is called a Batch file to open all three applications for my at once!所以,而非点击三个图标,我决定要创造一种被称为批处理文件 ,以开放的所有三项申请,我立刻!
You can create batch files in Windows XP and Vista very easily, all you need is Notepad!您可以创建批处理文件,在Windows XP和Vista很容易,您所需要的是记事本!
How to create a batch file in Windows如何创建一个批处理文件在Windows
1. 1 。 Open up Notepad打开记事本
2. 2 。 Copy and paste the line below as the first line in the file:复制并粘贴线以下作为第一线,在该文件中:
@echo off @回声小康
Echo off basically tells Windows to not give you any messages or popup windows when running the commands in the batch file.回声小康基本上告诉窗户,不给你任何讯息或弹出窗口时,运行命令,在批处理文件。
3. 3 。 Now we need to actually call the executables for the three programs that we want to open.现在,我们需要实际致电可执行文件,为3个程序,我们要开放。 So in our example, I want to open Firefox, Outlook, and Foxpro.所以在我们的例子中,我要打开火狐, Outlook和FoxPro的。 The next three lines would look like this:未来三条线这个样子:
start “Firefox” “C:\Program Files\Mozilla Firefox 3 Beta 3\firefox.exe” 启动"火狐 "的" C : \程序文件 \ Mozilla的Firefox三日测试3 \ firefox.exe "
start “Outlook” “C:\Program Files\Microsoft Office\Office12\Outlook.exe” 启动"展望"的" C : \程序文件\微软Office \ office12 \ outlook.exe "
start “Foxpro” “C:\Program Files\Microsoft Visual FoxPro 9\vfp9.exe” 启动" FoxPro的 "的" C : \程序文件 \ 微软Visual FoxPro的九\ vfp9.exe "
There are three parts to each command above and here’s what it means:有三个部分,每个指挥以上,并在这里的是什么意思:
start - That is the command used in batch files to open programs 开始 -这就是指挥使用的一批档案,以开放程式
“App Name” - The second parameter is the name of the application you are going to be opening. " App名称" -第二个参数是名称的申请,你将要开幕。 You can put any name you like here since it only uses this parameter for title purposes.你可以把任何名义,你喜欢这里,因为它仅使用此参数为标题的目的。
“App Path” - The last parameter is the actual path to the executable file for the program. "亚洲浆纸路" -最后一个参数是实际的道路上的可执行文件,为这一计划。 You can always find the path of a program by right-clicking on the icon and going to Properties .你总能找到道路程式右键单击该图标,并前往性能 。 For example, if I wanted to know the path to the executable file for Firefox, I would right-click and choose Properties.举例来说,如果想知道路径的可执行文件为火狐,我会按右键并选择属性。
Now all I need to do is look at the path in the Target box and simply copy and paste that into my batch file script.现在我需要做的就是看看道路在目标框,并简单地复制并粘贴到这一点,我的批处理文件脚本。
So now your batch file should look something like this:所以现在你的批处理文件应该看的东西是这样的:
Now all you have to do is actually save it as a batch file, which is very easy.现在,所有你必须做的,其实是保存为一个批处理文件,这是非常容易的。 Go to File and click Save As .前往文件 ,然后点击另存为 。 Give your file a name like “ TEST.BAT “.让你的文件名是" test.bat " 。 Note that I added the .BAT to the file name.注意,我加入了。英美烟草公司向档案名称。 Lastly, change the Save As Type to All Files instead of Text file.最后,改变保存类型的所有文件而不是文本文件。
That’s it!就是这么简单! You should now go ahead and test out your batch file and see if all of your programs load up.你现在应该继续进行测试出你的批处理文件,并看看你的全部节目负荷了。 One thing I have found is that loading applications via a batch file is much faster for some reason.一件事,我发现的是,加载应用程序通过一个批处理文件,是要快得多出于某种原因。 I’m not really sure why, but my Firefox, Outlook and Foxpro apps all load within 2 to 3 seconds whereas if I open them up individually, each one takes at least 5 seconds.我不是真的知道为什么,但我的火狐, Outlook和FoxPro的应用程序的所有负荷2至3秒钟,而如果我打开了个体,但每一个需要至少5秒钟。
Anyone else ever create their own batch file and if so, what did you use it for?任何人任何时候都创建自己的批处理文件的话,那么,是什么,你用它来吗? Enjoy!享受!
Technorati Tags: Technorati标记: batch files一批档案 , , open multiple programs at once打开多个程序,在一次 , , batch scripts批处理脚本 , , windows batch files窗户一批档案
If you enjoyed this post, make sure you 如果你喜欢这个职位,请务必 subscribe to my RSS feed 订阅我的RSS馈送 ! !
» Filed Under »提起下 Computer Tips电脑窍门
Related Posts相关职位
- How to batch change file extensions for Windows files如何批量改变文件扩展为Windows文件
- How to resize large digital pictures so that you can email them to friends and family!如何重新调整大型数位相片,让你可以电邮他们的朋友和家人!
- How to read and open .DAT files in Windows如何阅读和公开的。 DAT文件在Windows
- How to split a large file into multiple smaller pieces如何分裂一个大文件成多个小块
- Extract text from PDF, DOC, HTML, CHM, and RTF files提取文本从PDF格式,文件, HTML格式,包括进出口,和rtf文件
6 Responses to “How to open multiple programs in Windows at once”六日回应"如何打开多个程序在Windows上一次" Pingbacks pingbacks - Cómo abrir varios programas al mismo tiempo en Windows » zona de software blog freeware programas shareware gratis internet pc windows bajar descargar utilidades multimedia programas gratis 当法律abrir varios方案以铝mismo tiempo恩窗户»区,软件博客免费软件和方案共享免费上网的PC Windows下载descargar utilidades多媒体电脑程式免费提供 Says: 内容为:
[…] en: Online Tech Tips. [ … … ]恩:在线科技小窍门。 […] [ … … ]
April 7th, 2008 at 12:47 pm 2008年4月7日于下午12时47分
Please post your comments/suggestions!请您评论/建议!
[…] en: Online Tech Tips. [ … … ]恩:在线科技小窍门。 […] [ … … ]
April 7th, 2008 at 12:47 pm 2008年4月7日于下午12时47分
























I can’t seem to get it to open my applications.我看来不能得到它打开我的申请。 I have local admin rights if that helps.我有本地管理员的权利有没有什么帮助。
This is what I have in my batch file这是我在我的批处理文件
@echo off @回声小康
start“Outlook”“C:\Program Files\Microsoft Office\Office11\Outlook.exe”启动"展望"的" C : \程序文件\微软Office \ office11 \ outlook.exe "
start“Firefox””C:\Program Files\Mozilla Firefox\firefox.exe”启动"火狐"的" C : \程序文件\ Mozilla Firefox浏览器\ firefox.exe "
Is this correct?这是否正确?
Am I missing spaces or something.我失踪位或东西。
Also in your example is it supposed to say office12 my exe files are in office11 folder?此外,在你的例子是,它假定说office12我的exe文件是在office11文件夹?
Hi Phil,喜菲尔
I think your only problem is the spaces.我认为你唯一的问题是车位。 It should look like this:它应该是这个样子:
@echo off @回声小康
start “Outlook” “C:\Program Files\Microsoft Office\Office11\Outlook.exe”启动"展望"的" C : \程序文件\微软Office \ office11 \ outlook.exe "
start “Firefox” ”C:\Program Files\Mozilla Firefox\firefox.exe”启动"火狐"的" C : \程序文件\ Mozilla Firefox浏览器\ firefox.exe "
Notice that I just added spaces between start and word “Outlook” and then between “Outlok” and the phrase “C:\Program…\”.公告说,我只是补充位之间开始和Word "展望" ,然后" outlok "和短语"在C : \ Program … \ " 。
And that’s fine that your Office executable are in Office11, it just depends on which version you have installed on your computer.这也很好,你的办公室可执行程序是在office11 ,它只是取决于您拥有的版本安装在电脑上。 Office12 is for Office 2007. office12是为办公室2007年。
Let me know if you were able to get it working or not.让我知道,如果你都能够找到它的工作与否。 Thanks!谢谢!
Okay, I was wondering if the office12 was for 2007.好吧,我在想,如果office12是2007年。
I added the spaces and I get 1 error for each of programs I am trying to open.我亦补充说,该位,我送一的误差为每一个节目,我想打开。 I copied the targets directly from the properties window.复制对象直接从属性窗口。
This is the message I get:这是讯息可以:
Windows cannot find oFirefoxo. Windows无法找到ofirefoxo 。 Make sure you typed the name correctly, and then try again.确保您键入的名字正确,然后再试一次。 To search for a file,…要搜索一个文件时, … …
Any ideas?任何想法?
Thanks!谢谢!
Hi Phil,喜菲尔
What is the version of your OS?是什么版本的操作系统? Are you running Windows XP or Vista?你在运行Windows XP或Vista吗? I think it may be an issue with the syntax, so try the following:我想这可能是一个问题,与语法,所以尝试采用下列方法:
@echo off @回声小康
start “C:\Program Files\Microsoft Office\Office11\Outlook.exe”开始的" C : \程序文件\微软Office \ office11 \ outlook.exe "
start “C:\Program Files\Mozilla Firefox\firefox.exe”开始的" C : \程序文件\ Mozilla Firefox浏览器\ firefox.exe "
Basically, I removed the first parameter from the start line so it should just read start and then a space and then the path name to the exe file in quotes.基本上,我是去掉了第一个参数,从一开始线,所以应刚才所宣读的开始,然后在一个空间,然后路径名称,将exe档,在引号中。 Try that and let me know.尝试,并让我知道。
I’m running Windows XP Pro SP2 with all the latest updates.我运行Windows XP SP2的亲与所有最新的更新。 Lenovo T60联想t60
I changed my batch file and it still didn’t work and I figured I’d just copy and paste what you posted and it still nothing.我改变我的批处理文件,现在仍然没有工作,我想通我只是复制并粘贴你的张贴,现在仍然一无所获。
Could their be any AV software that could be blocking this?可他们有任何的AV软件,可以阻止这一?
Again thanks for your help再次感谢您的帮助