Posted: Mon Aug 21, 2006 4:24 pm Post subject: Batch Files
Anyone know how to write a batch file that will do the equivalent of dragging one program onto another program? For exmaple dragging a .bmp file onto mspaint.exe.
Sponsor Sponsor
rdrake
Posted: Mon Aug 21, 2006 4:40 pm Post subject: (No subject)
I would imagine it just passes files dropped onto a program as command line arguments.
Let's say you drag "foobar.bmp" onto mspaint.exe. Chances are pretty good that it equals the following.
Quote:
cmd> mspaint.exe foobar.bmp
Just pass the name of the file you want it to open as a command line argument.