I have a VBS file that is runing a bat file in background(the bat file is registering the voice for 1 hour. I want to make this VBS file to run every hour so i can register the voice non stop.
My bat file is like this:
@echo off
mkdir "My records"
set outputpath=My records\record_%date:~-2,2%%date:~-7,2%%date:~-10,2%_%time:~-11,2%%time:~-8,2%.mp3
ffmpeg -f dshow -i audio="Microphone (Realtek High Definition Audio)" -y -t 01:00:00 "%outputpath%"
And my VBS file is like this:
Set WshShell = CreateObject("WScript.Shell")
WshShell.Run chr(34) & "C:\Users\immol\Desktop\voice recorder\record.bat" & Chr(34), 0
Set WshShell = Nothing
So, can someone advise how to make this VBS run every hour and have recording the voice for 24/7? Thank you
If you are running in linux enviroment, this sounds like a cron job. Here is the wiki for cron: wiki . Here is a tutorial
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.