answersLogoWhite

0


Best Answer

Just put the commands in your batch file. When someone runs the program, it will execute the commands it comes across line-by-line.

- Example Batch Script:

This script will run an application EXE file with command line parameters. This will use the shutdown.exe file that comes with windows. It shuts down the computer in 60 seconds.

@shutdown -s -t 60

- You could also use the START command. For any command or exe file that runs from the command line, you could open a command prompt and type the name of the file followed by /? to find out what you can use as command parameters. Example: START /?

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you send commands to a command-line EXE program from a batch?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

To edit allows the user to do what?

Send a batch to IQC


What do the buttons on the Edit Toolbar not allow a user to do?

Send a batch to IQC


How to send sms using gsm modem in vbnet?

Use Serial Port Class and send commands (AT Commands) For more info, visit this blog in Related Links!


What are two traditional UNIX commands used to send print jobs to a printer?

The lp and lpr commands are the traditional commands used to print jobs on UNIX.


What send to menu commands copies the file to the document library?

Document


How can you use hacking in c program?

That entirely depends on what you want it to do, however it is easy to send commands to the command line using subprocess.Popen(), read files and modify them or back them up using the built in open(), or delete files. Did this answer your question?


How do you send a fake virus through aim?

You cant the wont let you send batches or .bat filesAnswer:The answer above is completely wrong. Compile the batch file to an exe.


What is the function of a keyboard to the computer in daily life?

The keyboard's function is to make it faster to send commands to the computer. These commands usually are for typing, but may include other functions.


What was the first program to send people to the moon?

The NASA Apollo program.


What is the six computer devices that you use to send commands to your computer?

Mouse, keyboard, voice activation,


How do you fix outlook express so it will send messages?

How are you wanting to send messages? automatically - something you set as a preference so it goes individually or as a batch? Please be more specific.


Is emailing a batch file that opens itself endlessly in a zip file illegal?

Yes. but not if the person receiving it asked you to send it