Execute GUI commands from the command line
I have a rather simply query to put forward, how would I go about exectuing GUI commands from the command line?
You see, I must collect all the S/N of our Windows 7 installations to ensure that we are complying with our site license agreement. We have, however, several computers to check and I would like to automate this process. So far, I have found KeyFinder, which will auto-magically find the S/N and then you can save that output to a text file. This process still forces us to check each computer individually, though, and I thought that a batch script might help automate the process.
So far I can run the program, but have no way of accessing the GUI menu in order to save the file:
@echo off START "Key Finder" /Dpath\to\network\drive "keyfinder-2.0.1.exe"
Thank you all kindly for your time, and eagerly await your responses.
Re: Execute GUI commands from the command line
You can look at Exec library form the Apache Commons project. Also check the below example given like javac Filename.java from java gui :
Or you can also download the “Script Executor” GUI and command prompt tool for multiple scripts execution.
Education, Career and Job Discussions
|Tags: command line, gui, gui command, gui menu, windows 7|
|Thread Tools||Search this Thread|
|Similar Threads for: "Execute GUI commands from the command line"|
|Thread||Thread Starter||Forum||Replies||Last Post|
|xcopy command line together with wmplayer command line||Aislinn||Operating Systems||5||31-03-2010 12:13 PM|
|How to execute commands of batch file at timed intervals||Camryn||Software Development||5||27-03-2010 08:47 PM|
|Problem: Command Line Option Syntax Error. Type Command /? For Help||Nadeem||MediaCenter||3||03-09-2009 05:41 PM|
|autorun.inf - shell\..\command with command line parameter doesn'twork||kakii||Windows XP Support||1||18-05-2007 01:24 AM|
|eject tape using command-line backup commands and scheduled tasks||KEATON!||Small Business Server||1||16-05-2007 07:33 PM|