Running command prompt commands elsewhere...


  1. Posts : 71
    DT and LT: Windows 7 and Fedora 14
       #1

    Running command prompt commands elsewhere...


    I am trying to configure RightMark Clock Utility to execute the "start" command when the power source for my computer changes. For example, I would want to run this:
    Code:
    start /MIN "" "C:Path\to\Program"
    I am choosing the start command because it gives me the option to use the /min parameter.

    The problem is that when I test it out, it doesn't seem to work. The programs don't start. I know that I can get it to run a command like
    Code:
    net start Service
    But start won't work. Any idea why and how I might fix it? I don't want to have to create a bunch of batch files for each command (if I put them in one, it will take much longer because it will wait for each one to complete before the next one starts and I have a lot of programs to start/close when the power source switches)
      My Computer


  2. Posts : 6,285
    Windows 10 Pro X64
       #2

    Try cmd /C start /MIN ......
      My Computer


  3. Posts : 71
    DT and LT: Windows 7 and Fedora 14
    Thread Starter
       #3

    lol why didn't I think of that?

    Thanks!
      My Computer


  4. Posts : 6,285
    Windows 10 Pro X64
       #4

    You're welcome, glad it helped.
      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 23:05.
Find Us