G
Guest
Guest
Archived from groups: microsoft.public.win2000.general (More info?)
Hi there, I need a .bat file that does this:
Looks at the directory it is executed from, and finds a single file
with a .wma extension. It stores this full filename in a variable, for
other executions.
There will only be one *.wma file per directory, but I do not know the
name of the file, only that it ends in "wma".
Here is a working version of what I have, where * is what needs to be a
variable.
@ECHO OFF
c:\windows\asfchop.exe -in *.wma -out *.asf -script timing.txt
DEL *.wma /q
PAUSE
DEL *.bat
The small batch uses Asfchop to merge a timing file with a video file,
and it works fine. But it does not work with a "*" wildcard, I need to
grab the actual filename.
Thanks Batch Wizards!
aqualizard
Hi there, I need a .bat file that does this:
Looks at the directory it is executed from, and finds a single file
with a .wma extension. It stores this full filename in a variable, for
other executions.
There will only be one *.wma file per directory, but I do not know the
name of the file, only that it ends in "wma".
Here is a working version of what I have, where * is what needs to be a
variable.
@ECHO OFF
c:\windows\asfchop.exe -in *.wma -out *.asf -script timing.txt
DEL *.wma /q
PAUSE
DEL *.bat
The small batch uses Asfchop to merge a timing file with a video file,
and it works fine. But it does not work with a "*" wildcard, I need to
grab the actual filename.
Thanks Batch Wizards!
aqualizard