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標記: , , ,

If you enjoyed this post, make sure you 如果你喜歡這個職位,請務必 subscribe to my RSS feed 訂閱我的RSS饋送 !

» Filed Under »提起下 Computer Tips電腦竅門

Related Posts相關職位

11 Responses to “How to open multiple programs in Windows at once” 11個反應是"如何打開多個程序在Windows上一次"

  1. Phil said on : 菲爾說:

    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文件夾?


  2. akishore akishore said on : 說:

    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!謝謝!


  3. Phil said on : 菲爾說:

    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!謝謝!


  4. akishore akishore said on : 說:

    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.嘗試,並讓我知道。


  5. Phil said on : 菲爾說:

    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再次感謝您的幫助


  6. Phil said on : 菲爾說:

    hm I was messing around with this some more.陛下,我周圍的伙食與此多一些。 I have a folder on my Desktop with FirefoxPortable我有一個文件夾,對我的桌面與firefoxportable

    start “” “C:\Documents and Settings\pgastwirth\Desktop\firefox 3 beta5\FirefoxPortableTest\FirefoxPortable.exe”啟動" , "對" C : \文件和設置\ pgastwirth \桌面\而Firefox 3 beta5 \ firefoxportabletest \ firefoxportable.exe "

    This opens up fine.這開闢了罰款。 But I still get errors for these但我仍然得到錯誤,為這些

    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 "

    I keep checking my file paths to make sure that they are correct.我不斷查我的檔案路徑,以確保他們是正確的。
    Oh well, I’ll keep trying.哦,我會繼續嘗試。 Eventually I should get.最後,我要得到的。 Something can’t be right.東西不可能是正確的。
    Thanks感謝


  7. Phil said on : 菲爾說:

    I figured it out. i揣摩出來。 For some reason when I copied and pasted the code from you site.由於某些原因,當我拷貝和粘貼代碼,從你網站。 The quotation marks were different characters than when I actually press the quotation key on my keyboard.引號人不同的特點,比我其實按下報價關鍵就我的鍵盤。 After I replaced the quotation marks, this batch worked.當我更換了引號,這一批工作。 If anybody wants to open a website add this如果有人想開個網站加入這個

    Start “” “C:\Program Files\Internet Explorer\iexplore.exe”啟動" , "對" C : \程式檔案\的Internet Explorer \ iexplore.exe " http://www.online-tech-tips.com

    I’m guessing this will do the same for Firefox but I have not personally tested this.我猜,這也將採用同樣的火狐,但我沒有親自測試。 Now I’m going to try to get firefox to open up multiple tabs.現在我要爭取火狐打開多個選項卡。

    Thanks for all your help with this.感謝所有您的幫助與此有關。 I knew it was something simple.我知道這是一些簡單的。


  8. Dragan said on : 德拉甘說:

    Works absolutely perfect.工程絕對完美的。 Thanks a lot.太感激了。


  9. Bill P said on : 條例草案時表示:

    how would you add a password in the outlook string.你會如何增加一個密碼在Outlook字符串。 I have a password I have to enter once outlook opens.我有一個密碼,我已進入一旦面貌開幕。


  10. akishore akishore said on : 說:

    Phil, glad you got it working!菲爾高興,你明白它的工作!

    Bill, I didn’t know it was possible to password protect Outlook!條例草案,我不知道這是可能的密碼保護的前景! Are you using a third party program?你正在使用第三方程序? And you have to enter a password into Outlook before you can view emails?你必須輸入密碼進入觀前,你可以查看電子郵件?


    Pingbacks pingbacks
  1. 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. [ … … ]恩:在線科技小竅門。 […] [ … … ]

Please post your comments/suggestions!請您評論/建議!