Computing.Net > Forums > Programming > Advanced batch program

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Advanced batch program

Reply to Message Icon

Name: jcalaiaro
Date: June 16, 2006 at 13:41:18 Pacific
OS: MCE 2005
CPU/Ram: p4 2.26 Ghz 1GB
Comment:

I have a program I use, mControl. This program allows control of x10 and INSTEON systems. My question is this, could I create a batch program to chance a particular setting within the program. My reason for this is to have remote voice command control to execute the batch which would in turn produce the desired result. Thanks for anyone spending any time on this.



Sponsored Link
Ads by Google

Response Number 1
Name: Shr0Om
Date: June 18, 2006 at 23:39:43 Pacific
Reply:

It depends on how mControl is built. First of all it have/support a command line interface. For example, if you can write mcontrol.exe /some command, and the program executes something then exits again, it will be possible to use a batch to feed it.


0

Response Number 2
Name: OnlyJC
Date: June 19, 2006 at 03:26:30 Pacific
Reply:

you may be able to use:

mcontrol.exe < textfile.txt

Breakdown
< - put whatever said here into previous program
textfile.txt - List of commands

Example using chkdsk
echo Y > y.txt
chkdsk c: /f /x < y.txt

- Answers yes to the prompt

OnlyJC
www.purple-fire.com


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Advanced batch program

Batch Programming www.computing.net/answers/programming/batch-programming/15718.html

Batch program in Perl needed www.computing.net/answers/programming/batch-program-in-perl-needed/13724.html

batch program needed www.computing.net/answers/programming/batch-program-needed/18598.html