![]() |
WinDummy ReadMe |
WinDummy
2, 0, 0, 2
Exercise a script without running each of the external programs that it calls, to verify that the external program will receive the correct command line arguments and be called when expected.
This program is a chameleon. There is no set command line syntax.
The idea is that you use whatever command you would use to run the real program. This allows you to test a batch file or other script or program without running the real program, which might take a long time to run, make unwelcome changes to files, or have other bad side effects. Likewise, you can rename the binary; the name is not special.
When the batch script or other program under test executes WinDummy.EXE, a
message box displays, showing you the name you gave to the program file and all the
parameters, exactly as your real program would see them.
This version is a completely new program, written entirely in C. Unlike previous versions, this is a completely freestanding program. Since there are no support DLLs to drag around, you just copy the program into the test directory, give it an appropriate name, and start testing.
Since this version parses the raw command line, I made other improvements, too.
This program works really well in conjunction with WWSimStatus,
another stand-in program that I created to simulate status codes returned by programs.
Indeed, WWSimStatus.EXE is derived from WinDummy.EXE.
Figure 1 shows a command that takes 4 arguments, the third of which is in quotes, because it contains embedded spaces. The command is as follows.
WinDummy.exe Arg1 Arg2 "Spaces in Argument 3" Arg4

Figure 1 - Program taking 4 arguments, 1 containing embedded spaces
Figure 2 shows the message box displayed for a command that is missing a closing quotation mark. Note that the command line arguments are shown below the message. The command is as follows.
WinDummy.exe Arg1 Arg2 "Spaces in Argument 3

Figure 2 - Program with missing quotation mark
Figure 3 shows the message box displayed for a program that takes no arguments. This is useful for verifying that conditional code in a script or other program executes. The command that generated this message is as follows.
WinDummy.exe

Figure 3 - Program taking no arguments
The package contains only the program, a copy of this manual page, and the images shown above.
You may install them anywhere. If you have one or more of our other utilities installed on
your machine, and you store them in the same directory, the image files that accompany
this package will be installed into the existing /images directory. The names
of the image files were chosen with this in mind.
If you have the first version of WinDummy, you already have both of the following files, which are no longer part of the WinDummy package.
wbdCI34i.dll is the Windows Interface Language runtime module.
Although WinDummy no longer uses this library, you may have other packages,
from us or others, that use it.
P6Consulting.CSS is a Cascading Style Sheet used by some of our older
manual pages. Although our newer documents use a different CSS document, you may
have older documents that have not yet been updated.
Although no longer used by this package, you should keep these files, because others packages that you acquired from us or others may yet depend upon them.
The table below lists all the files that come in this package.
File Name |
Purpose and Other Notes |
WinDummy.EXE |
This is the main program. Feel free to rename this file to add realism to your tests. |
WinDummy.htm |
This document, formatted for viewing in any Web browser that supports tables and Cascading Style Sheets. |
P6C_POD.CSS |
Cascading Style Sheet to accompany |
/images |
Folder containing images to accompany |
You may copy and run WinDummy.EXE anywhere. It requires no support files,
other than MSVCRT.DLL, which is part of all recent (within the last 10 years)
Windows installations.
The table below gives a brief development history of this program.
Date |
By Whom |
Version |
Remarks |
01/04/2002 |
DAG |
1.0 |
Initial release (experimental – internal use only). |
06/21/2003 |
DAG |
1.1 |
Initial Public Release. |
04/03/2006 |
DAG |
2, 0, 0, 1 |
Initial release of self contained version. |
04/05/2006 |
DAG |
2, 0, 0, 2 |
Add hidden window, to associate the program icon with its message boxes. |
David A. Gray, MBA, of Simple Soft Services, Inc., d/b/a WizardWrx.
© 2005-2006, Simple Soft Services, Inc., d/b/a WizardWrx. All rights reserved world wide.
This software is freeware. However, in the unlikely event that you need support, you may make your request by email. Please use this form to contact us. Your inquiry will be handled on a best efforts basis, and any information you send us about your specific situation will be treated as confidential. We do, however, reserve the right to incorporate any ideas we get from our correspondence with you into future versions of WinDummy or other software either for internal use or for sale. Should we do so, we shall give full credit to its source in the accompanying documentation.
Download your free copy here.
The MD5 digest of this file is 29aaf636435666884a91bb1b04d0bb56. You
can use MD5WIN to verify the MD5 digest of this
and other files.
WizardWrx Home page www.wizardwrx.com.
| WinDummy Home Page | Other Free Stuff |