Search found 6 matches

by isidroco
17 Jan 2021 11:54
Forum: DOS Batch Forum
Topic: Is there a way to make a bootable batch file?
Replies: 5
Views: 6959

Re: Is there a way to make a bootable batch file?

A Batch is not an OS. You can try using Hiren's Boot CD mini XP. Any batch file can be placed on StartUp menu folder and will be launched at startup.
by isidroco
22 Dec 2020 15:26
Forum: DOS Batch Forum
Topic: Add Filename (minus the .mkv) as a Title to a folder of Matroska videos
Replies: 18
Views: 13718

Re: Add Filename (minus the .mkv) as a Title to a folder of Matroska videos

Some time ago, I made a batch VID2MKV.BAT for merging all Video files with corresponding Audio files on a folder and generating MKVs (small side part of VirtualDub batch deshake project). Just added filename as title now. It can take any video extension for video input, and any video/audio file exte...
by isidroco
21 Dec 2020 17:32
Forum: DOS Batch Forum
Topic: Help! Is this batch code safe?
Replies: 4
Views: 4787

Re: Help! Is this batch code safe?

I don't like attrib line, will make all documents read only, I would change +r to -r there.
by isidroco
20 Dec 2020 14:45
Forum: DOS Batch Forum
Topic: Determine Yes/No/All string for current locale
Replies: 17
Views: 20838

Re: Determine Yes/No/All string for current locale

Thanks Siberia-Man , your code doesn't work if TEMP folder includes (). Here's a slighly simplified version, based also on jfl , skips an "if", doesn't need delayed expansion and allows easy testing. Won't work if TEMP folder has # on it (one could choose another unused valid character on dummy "yes...
by isidroco
28 Oct 2020 17:40
Forum: DOS Batch Forum
Topic: Determine Yes/No/All string for current locale
Replies: 17
Views: 20838

Re: Determine Yes/No/All string for current locale

Good catch jfl , can you please try replacing ? with : in delimiter, that will possibly work in all languages, because : is not a valid path/filename char so it's present in exactly two places leaving (Y/N/A) section isolated. The other idea I had is to use an uncommon char (not used in temp path) i...
by isidroco
21 Oct 2020 09:25
Forum: DOS Batch Forum
Topic: Determine Yes/No/All string for current locale
Replies: 17
Views: 20838

Re: Determine Yes/No/All string for current locale

This is Debham code perfectioned to use TEMP folder and two steps: First isolates prompt section (using ? as delimiter) from path name (solves special TEMP folder names), and then parses that as before, tested on XP and win 7: @echo off setlocal copy /y nul %TEMP%\test.tmp >nul for /f "tokens=2* del...