Good day,
I hope you guys are able to help me with this.
My script is as follows:
@echo off
setLocal EnableDelayedExpansion
cd C:\Decryptor
for /f “tokens=* delims= ” %%a in (c:\temp\recordings.txt) do (encryptwave-w32r-1-1.exe -d “%%a” -o “C:\recordings\recording.wav”)
What i need is for the file name to change each time it saves a new decripted recording.
right now it is just overwriting the recording.wav each time.
I need it to incirment as follows:
recording1.wav
recording2.wav
recording3.wav
recording4.wav
…
How can i do this?
any help will be appreciated.
@echo off
setLocal EnableDelayedExpansion
cd C:\Decryptor
set N=1
for /F “delims=” %%a in (C:\temp\recordings.txt) do (
encryptwave-w32r-1-1.exe -d “%%a” -o “C:\recordings\recording!N!.wav”
set /A N+=1
)