ISO: A method / softwares, etc...


  1. Posts : 167
    Microsoft Windows 7 Ultimate (x64) Build 7601
       #1

    ISO: A method / softwares, etc...


    Okay, hello again and sorry for the trouble...
    I'm looking for 'something' which can be a method, software or whatever that I can put applications like MSN, IDM and some other softwares and make them run in one go when I just double click or 'activate' them once only rather than going through all of them in one go...

    Does anyone has any idea in mind?
    Sorry and thanks! :)
      My Computer


  2. Posts : 1,483
    Windows 7 Ultimate x64 SP1
       #2

    Hi, 1337. Have a look here.

    Here's a really simple .bat I whipped for no reason (obviously) that opens Calculator, Explorer and Firefox (Minefield in my case). :)

    Code:
    echo off
    cd\
    
    start /d "c:\windows\system32" calc.exe
    
    start /d "c:\windows" explorer.exe
    
    start /d "c:\Program Files\Minefield" firefox.exe
    Read through the link I presented initially and you'll be an expert in no time.
      My Computer


  3. Posts : 1,210
    Windows 7 Ultimate x64 (XP, 98SE, 95, 3.11, DOS 7.10 on VM) + Ubuntu 10.04 LTS Lucid Lynx
       #3

    Good one @mikedl, Its nice to see the batch commands again. Brings back old memories :)

    @1337,
    If you don't want the command prompt to pop up then you can use the Windows Scripting Host.

    Start applications
    Code:
    <job id="vbs">
        <script language="VBScript">
            Set WshShell=WScript.CreateObject("WScript.Shell")
            On Error Resume Next
    
            WshShell.Run("C:\Windows\notepad.exe")
            WshShell.Run("C:\Windows\system32\calc.exe")
        </script>
    </job>
    Add a new WshShell.Run("....") for each application you want to start.

    If you want a menu based solution,
    ISO: A method / softwares, etc...-application-menu.png
    then you can try this
    Code:
    <job id="vbs">
        <script language="VBScript">
            Set WshShell=WScript.CreateObject("WScript.Shell")
            On Error Resume Next
            strMenu="Menu" & vbCrLf & "-------" & vbCrLf &_
                "1. Notepad" & vbCrLf &_
                "2. Calculator" & vbCrLf &_
                "3. Firefox" & vbCrLf &_
                "4. Internet Explorer" & vbCrLf &_
                "5. Editplus" & vbCrLf &_
                "6. Miranda" & vbCrLf &_
                "7. Eclipse" & vbCrLf &_
                "8. Bye."
            menuSel=0
            While menuSel<>8
                menuSel=InputBox(strMenu, "Menu", 1)
                If IsNumeric(menuSel) Then
                    Select Case menuSel
                        Case 1:
                            WshShell.Run("C:\Windows\notepad.exe")
                        Case 2:
                            WshShell.Run("C:\Windows\system32\calc.exe")
                        Case 3:
                        Case 4:
                        Case 5:
                        Case 6:
                        Case 7:
                    End Select
                Else
                    WScript.Echo "Invalid option. Numbers only."
                End If
            Wend
        </script>
    </job>
    Add as many Case statements and new WshShell.Run("....") for each application you want to start and make sure the Exit number is in the While menuSel<> statement.

    You can save these to a file with the extension .wsf and create a shortcut with WScript "Path to the wsf file" on the desktop.

    I've attached the files also with this post.
    ISO: A method / softwares, etc... Attached Files
      My Computer


  4. Posts : 1,483
    Windows 7 Ultimate x64 SP1
       #4

    Cool stuff, gladson1976! I really need to learn a bit more about that scripting. :)

    Thanks for sharing and demonstrating a more up-to-date and cleaner looking method than a .bat file.
      My Computer


  5. Posts : 1,210
    Windows 7 Ultimate x64 (XP, 98SE, 95, 3.11, DOS 7.10 on VM) + Ubuntu 10.04 LTS Lucid Lynx
       #5

    Scripting is quite powerful, but I still prefer the good old command prompt and batch files for simple tasks, but some others may prefer to see some GUI :)
      My Computer


  6. Posts : 167
    Microsoft Windows 7 Ultimate (x64) Build 7601
    Thread Starter
       #6

    Thank you so much, guys!

    I love the .bat one, simple and nice and the attachment by gladson1976 which is so lovely.
    Both is simple and very useful to me.

    Once again, thanks a lot!!!

      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 16:46.
Find Us