On Wed, 01 May 2013 03:31:13 -0500, Fairfax <Spa...@NoJunkMail.org>
wrote:
>The following bat file, when pointed to from the SendTo folder via a
>shortcut, opens up all selected images in MS Paint in WinXP all at
>once (a feature missing in MS Paint at least up until WinXP which is
>only app I have available and am allowed to use at work).
>
>Here is the bat:
>
>
**********************************
>@echo off
>:chk
>if "%~1" == "" goto :eof
>start /b mspaint %1
>shift
>goto chk
**********************************
>
>
>Does anyone know how to modify the above bat so that it opens up each
>image in windows maximized mode?
>
>Thank you!
Sorry for the delay in replying, but I've been going through my posted
messages on ngs and I saw this question I'd posted back in May. I did
find a solution to this, so thought I'd close this thread with the
code:
**********************************
@echo off
:chk
if "%~1" == "" goto :eof
start /b /max mspaint %1
shift
goto chk
**********************************
The /max switch before mspaint does the job.
Thanks.
As I mentioned above, this bat is in the SendTo folder and when I have
a bunch of screenshots to consolidate into one file, I select them all
and then point them to the bat file in the SendTo folder, it opens
them up in maximixed MSPaint windows.
There is a limitation to how many windows will be opened and Windows
will open only that x number of files, but that's okay. Better than
when I had to open them 1 by 1.
I also went on to create 2 more similar bat files in the SendTo
folder, one for my text editor (Metapad) and another for IE. These 2
other bat files deal with the other 2 types of files I need to open
many files at once for and neither Metapad nor my IE version have
tabbed viewing or MDI interfaces that allow me to open more than one
file at a time.
The metapad example I'm posting below since it's a non-Windows app so
needs the filepath referenced to work:
**********************************
@echo off
:chk
if "%~1" == "" goto :eof
start /b /max "G:\TEXT\npad, Metapad v3.6\APP- Metapad
v3.6\metapad.exe" %1
shift
goto chk
**********************************
Anywho, someone else might find this useful in work situations where
the registry is locked down, etc., and you need to streamline
operations. This type of bat allows for quick opening of multiple
files.
Cheers and thanks.