Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: shell command line argument.  (Read 2634 times)

0 Members and 1 Guest are viewing this topic.

fireballs

    Topic Starter


    Apprentice

  • Code:Terminal
  • Thanked: 3
    shell command line argument.
    « on: August 19, 2008, 07:06:08 PM »
    I need to pass a command line argument to my shell on startup how would i go about doing this?

    FB
    Next time google it.

    fireballs

      Topic Starter


      Apprentice

    • Code:Terminal
    • Thanked: 3
      Re: shell command line argument.
      « Reply #1 on: August 20, 2008, 07:43:32 AM »
      Seriously no-one knows how??

      FB
      Next time google it.

      Spoiler



        Specialist

        Thanked: 50
      • Experience: Beginner
      • OS: Windows XP
      Re: shell command line argument.
      « Reply #2 on: August 20, 2008, 08:15:09 AM »
      What are you trying to do? Can you explain this a little more?

      Also the programing forum is here....

      http://www.computerhope.com/forum/index.php?board=6.0

      Whenever I watch TV and I see those poor starving kids all over the world, I can't help but cry. I mean I would love to be skinny like that, but not with all those flies and death and stuff." - Mariah Carey, Pop Singer

      fireballs

        Topic Starter


        Apprentice

      • Code:Terminal
      • Thanked: 3
        Re: shell command line argument.
        « Reply #3 on: August 20, 2008, 08:44:28 AM »
        n/m found the registry entry, modified that.

        FB
        Next time google it.

        Spoiler



          Specialist

          Thanked: 50
        • Experience: Beginner
        • OS: Windows XP
        Re: shell command line argument.
        « Reply #4 on: August 20, 2008, 08:49:23 AM »
        Good that your problem is fixed....

        Come back anytime!
        Whenever I watch TV and I see those poor starving kids all over the world, I can't help but cry. I mean I would love to be skinny like that, but not with all those flies and death and stuff." - Mariah Carey, Pop Singer

        Carbon Dudeoxide

        • Global Moderator

        • Mastermind
        • Thanked: 169
          • Yes
          • Yes
          • Yes
        • Certifications: List
        • Experience: Guru
        • OS: Mac OS
        Re: shell command line argument.
        « Reply #5 on: August 20, 2008, 08:49:58 AM »
        Come back anytime!


        And we'll try to help.  :D

        fireballs

          Topic Starter


          Apprentice

        • Code:Terminal
        • Thanked: 3
          Re: shell command line argument.
          « Reply #6 on: August 20, 2008, 08:50:41 AM »
          lol it's ok you've helped me enough times in the DOs section... cheers guys.

          FB
          Next time google it.

          ChrisXPPro



            Adviser

          • Forever Learning
          • Thanked: 4
            • ACB Systems
          • Computer: Specs
          • Experience: Experienced
          • OS: Windows XP
          Re: shell command line argument.
          « Reply #7 on: August 20, 2008, 09:53:34 AM »
          n/m found the registry entry, modified that.

          FB

          Just curious (eager to learn) - can you mention what your method was - it'd be most interesting.  Just basic details.
          Ain't technology great - until it goes wrong!

          fireballs

            Topic Starter


            Apprentice

          • Code:Terminal
          • Thanked: 3
            Re: shell command line argument.
            « Reply #8 on: August 20, 2008, 10:28:50 AM »
            Editing registry entries isn't a friendly environment to learn but I'll outline what i did.

            I'm using EmergeDesktop a Windows Shell replacement. I wanted to pass the command line argument 'hide' to emerge.exe when it was loaded as shell. Looking through the documentation i found where the registry entries where kept and what they were.

            CMD > regedit. HKEY_CURRENT_USER > Software > EmergeDesktop

            right clicked the entry i wanted to modify, clicked modify, entered the argument.

            rebooted to make sure it worked.

            FB
            Next time google it.

            ChrisXPPro



              Adviser

            • Forever Learning
            • Thanked: 4
              • ACB Systems
            • Computer: Specs
            • Experience: Experienced
            • OS: Windows XP
            Re: shell command line argument.
            « Reply #9 on: August 20, 2008, 10:38:11 AM »
            Thank you - I hadn't earlier realized this was a shell replacement.

            I am fairly familiar with registry but as ever treat it with great respect!  :)
            Ain't technology great - until it goes wrong!

            fireballs

              Topic Starter


              Apprentice

            • Code:Terminal
            • Thanked: 3
              Re: shell command line argument.
              « Reply #10 on: August 20, 2008, 11:01:45 AM »
              yer sorry i should have specified earlier.

              FB
              Next time google it.