Groups | Blog | Home
all groups > inetserver asp components > october 2003 >

inetserver asp components : Please help with .bat script


Lucas Cowald
10/27/2003 12:46:50 PM
+++++++++++++++++++++++++++++++++++++++++++++++++
REY, please don't reply to this post. I need someone to help me with this.
+++++++++++++++++++++++++++++++++++++++++++++++++

Hi,
I have no idea how to write .bat scripts, can you help me write one?
Here is a pseudo code of what I would like the .bat script do.

For intFolder = 1 to 100
For intFileNumber = 1 to 20
IF intFileNumber.wmv file does not exist, THEN exit loop.
sse45.exe -i k:\o\intFileNumber.wmv -o k:\o\intFileNumber.shh -w
128 -df 0 -m 2 -p
Next
Next

I need to use this script to run sse45.exe program that will convert files
in one format to another. I have about 100 folders that contain around 20
files in each folder. The files are numbered as consecutive integers
starting with number 1 (example: 1.wmv, 2.wmv, 3.wmv, .....). Folders are
also numbered from 1 to 100.

Would you be so kind and write me a .bat script that would do the job of my
pseudocode above?
Thank you in advance,
Lucas Cowald.

Ray at <%=sLocation%
10/27/2003 3:56:10 PM
Sorry, I reply when I have an answer. It's in my good nature.

The first part of my reply, however, is this has nothing to do with any of
the groups to which you posted. Therefore, I will reply in
microsoft.public.win2000.cmdpropmt.admin. Please feel free to join the
thread over there.

Ray at work

[quoted text, click to view]

Raymond D'Anjou (raydan)
10/27/2003 4:43:18 PM
It doesn't help to keep posting the same question.
Either Ray nailed it (gave you the right answer) or you are not in the right
newsgroup.
Reposting just gives you a bad reputation (posting to multiple groups also
does that).
I find that Ray has been "surprisingly" polite with you, no need to exclude
him.

[quoted text, click to view]

Ray at <%=sLocation%
10/27/2003 4:57:20 PM
Thank you for the kind words, Ray. :]

Ray

[quoted text, click to view]

AddThis Social Bookmark Button