1.

Solve : How do you close a window in DOS?

Answer»

Im making a test that will find your frequency hearing range and I need to open a sound file than have it close itself after about 5 seconds. Does ANYBODY KNOW how to do this.Technical Details
1. Im using a Window XP
2. Using a DOS Batch fileYou could USE CALL PROCEDURE to call seperate batchfiles playing their own sound files.

I use the Norton Utilities BE.EXE file. you can use it to time delay between commands.

@echo off
cls
echo.
echo Starting SOUND 1 of 10...
call sound.cmd sound1
BE.EXE delay 10
echo Starting SOUND 2 of 10...
call sound.cmd sound2

etc. etc.
within sound.cmd you should do this.

@echo off
c:\my_program_for_playing_sounds.exe %1.WAV

hope this helps.



Discussion

No Comment Found