The Finest Hand-Selected Downloads
Individually reviewed & tested
Store News

WinAPIExec 1.2

Call Windows API functions from the command line

Rating:
(0)
Operating Systems:
Windows 10, Windows 7 (32 bit), Windows 7 (64 bit), Windows 8, Windows Vista, Windows XP
License:
Freeware
Developer:
RaMMicHaeL
Software Cost:
Free
Category
Developer & Programming
Date Updated:
11 December 2015
Downloads To Date:
2135
Languages:
English
Download Size:
6.02 KB

WinAPIExec is a tiny but very powerful tool which allows you to run Windows API functions from the command line, giving your scripts access to all kinds of powerful functionality.

If you're not a programmer then figuring out how to use this will be far from straightforward, but fortunately the program comes with some interesting examples to give you some idea.

To eject your CD ROM, for instance, you'd use this (all commands must be entered on one line):
winapiexec.exe winmm.dll@mciSendStringW "open cdaudio" 0 0 0 , winmm.dll@mciSendStringW "set cdaudio door open" 0 0 0 , winmm.dll@mciSendStringW "close cdaudio" 0 0 0

This command programmatically displays the Start menu:
winapiexec.exe u@SendMessageW ( u@FindWindowW Shell_TrayWnd 0 ) 0x111 305 0

You get considerable control over processes. This line launches Notepad, pauses for 5 seconds, then closes it:
winapiexec.exe CreateProcessW 0 notepad 0 0 0 0x20 0 0 $a:0x44,,,,,,,,,,,,,,,, $b:16 , Sleep 5000 , TerminateProcess $$:11@0 0

You're able to collect and display useful Windows-related information. This line shows you the current Temp path, for instance:
winapiexec.exe GetTempPathW 260 $b:520 , u@MessageBoxW 0 $$:3 $$:0 0x40

There are several other useful examples in the program's readme.txt file. And these are just the beginning: once you understand how the program works, then you can quickly come up with others to do a whole lot more.

Verdict:

WinAPIExec provides an easy way to supercharge your batch files with all kinds of new features and functionality

Your Comments & Opinion

Related Downloads Other Downloads From This Category

Wine lets you run Windows applications directly on your Linux desktop without needing an emulator.

Open Source

Wine lets you run Windows applications directly on your Linux desktop without needing an emulator.

Open Source

Easily customise the Windows 7/ 8 taskbar

Freeware

Control applications from shortcuts or the command line

Open Source

Control applications from shortcuts or the command line

Open Source
45,036,132
Downloads
Secure & Tested Software
6,482
Reviews
Instant Download 24/7
315,170
Members
10+ Years of Service