Through this batch file you can hear the content of text file.
But first you have to download nircmd.zip . You can download it from below link.
https://drive.google.com/open?id=0B9E9MT4XoPIDYW1DTUxoZlVvdXc
Then after that unzip it to system32 folder.
Code:
@echo off
echo Enter Drive name where text file exist
set /p dr=
echo Enter folder name where text file exist
set /p folder=
echo Enter file name
set /p name=
nircmd.exe speak file "%dr%:\%folder%\%name%.txt" 0 100 "%dr%:\%folder%\%name%.wav"
pause
cls
echo Go to that folder WAV file sucessfully created.
pause
exit
But first you have to download nircmd.zip . You can download it from below link.
https://drive.google.com/open?id=0B9E9MT4XoPIDYW1DTUxoZlVvdXc
Then after that unzip it to system32 folder.
Code:
@echo off
echo Enter Drive name where text file exist
set /p dr=
echo Enter folder name where text file exist
set /p folder=
echo Enter file name
set /p name=
nircmd.exe speak file "%dr%:\%folder%\%name%.txt" 0 100 "%dr%:\%folder%\%name%.wav"
pause
cls
echo Go to that folder WAV file sucessfully created.
pause
Sve this batch file as anything.bat
exit
Comments
Post a Comment