Re: Increment numeric part of string
From: Marty List (bill.gates_at_sun.com)
Date: 10/14/04
- Next message: Michael Harris \(MVP\): "Re: Remove Computer from Domain"
- Previous message: Mike [MSFT]: "Re: Script to reboot group of PCs"
- In reply to: JohnNews: "Re: Increment numeric part of string"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 13 Oct 2004 19:56:54 -0600
"JohnNews" <johncarryl@comcast.net> wrote in message
news:%23DuHi$WsEHA.2660@TK2MSFTNGP12.phx.gbl...
> Guard:
>
>
> Thanks for your input. It worked well; both at the command prompt (%) and
> in a batch file (%%). Now for an extension
>
> As the variable is incremented, the appropriate Windows Media Player (WMP)
> file is launched.
> If the WMP file is not available then a popup window appears and I can
> manually cancel same to allow incrementation to continue freely.
>
> ** How can I programmatically (from within the batch file) click on the
> OK button of the popup window so that the incrementation process can
> continue ?
>
> ** I do not always want to launch the WMP file, even if that WMP file
> does exist. Rather than LAUNCH each available/existing WMP file, how can
I
> merely just check to see if the WMP file EXISTS (and can therefore be
> readily launched if I so desire). What would be the syntax of the DOS
> command to accomplish this second goal ?
>
>
>
>
> Thanks, in advance, again,
> John.
>
You could try the freeware tool WGET.EXE:
http://www.gnu.org/software/wget/wget.html
This is from the help file:
--spider
When invoked with this option, Wget will behave as a Web "spider", which
means that it will not download the pages, just check that they are there.
For example, you can use Wget to check your bookmarks:
wget.exe --spider --force-html -i bookmarks.html
- Next message: Michael Harris \(MVP\): "Re: Remove Computer from Domain"
- Previous message: Mike [MSFT]: "Re: Script to reboot group of PCs"
- In reply to: JohnNews: "Re: Increment numeric part of string"
- Messages sorted by: [ date ] [ thread ]