Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Running command prompt commands elsewhere...

05 Nov 2010   #1
freelancer91

DT and LT: Windows 7 and Fedora 14
 
 
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 System SpecsSystem Spec
.
05 Nov 2010   #2
Ztruker

Windows 10 Pro X64
 
 

Try cmd /C start /MIN ......
My System SpecsSystem Spec
06 Nov 2010   #3
freelancer91

DT and LT: Windows 7 and Fedora 14
 
 

lol why didn't I think of that?

Thanks!
My System SpecsSystem Spec
.

06 Nov 2010   #4
Ztruker

Windows 10 Pro X64
 
 

You're welcome, glad it helped.
My System SpecsSystem Spec
Reply

 Running command prompt commands elsewhere...




Thread Tools




Similar help and support threads
Thread Forum
Command Prompt Not recognizing commands.
Hi, I'm super sad because I use CMD a lot but its not recognizing regular commands. I have no idea what to do because im more familiar with Terminal on a Macintosh. Thanks.:eek::D
General Discussion
Command prompt not recognizing commands
Hello. It seems as if my command prompt will not let me do any simple system commands such as ping, ipconifg, etc. And it will also not let me use commands for my compiler. The paths are set properly in the environment variables, but it still does not work. See the screencap below: ...
General Discussion
Start Command Prompt and automatically execute a few commands
I am learning a programming language, and I frequently use command prompt to compile source codes, but every time I start command prompt I need to manually cd to the correct directory, and then I like to run cls to keep the window clean. I have looked around, but I'm not sure how to phrase a google...
Software
32 bit command prompt running on a 64 bit version of windows
Hi I'm running windows 7 home premium 64 bit, but whenever a program uses command prompt it says system 32 i.e. Booting up. can you tell me why this is happening and can you help me fix it?
General Discussion
Command prompt doesnt recognize commands / cant repair windows
i cant run any commands in command prompt.i have checked a lot of stuff on inet to solve like paths @environment variables etc but i still couldnt solve it.i thought maybe its cuz a system file is missing made a repair disc but couldnt run sfc via command prompt at boot because i got this error...
BSOD Help and Support
Running an elevated command prompt (from the Recovery DVD)
Long story short, I've been trying to dual-boot W7 with Ubuntu. Failed. Now I cannot boot up Windows, and though there are hundreds of forum articles explaining how to fix this (using the Bootrec/bcdedit commands in the Windows RE command prompt), but I can't run either of them (get an error). My...
General Discussion


Our Sites

Site Links

About Us

Find 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 11:08.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App