Search found 188 matches

by nnnmmm
30 Aug 2025 06:21
Forum: DOS Batch Forum
Topic: i am looking for a batch command choice.com for WinXP
Replies: 3
Views: 1071

Re: i am looking for a batch command choice.com for WinXP

choice.com from Utilidades.zip didnt do what i needed, it had the same syntax switches as DOS6.22's choice.com i need DOS or XP's choice.com that can do choice /C:1234567890abcdefghijklmnopqrstuvwxyz /N /M "Input:" or i need to separate the XP and Win10 batches, that is the last thing i want to do i...
by nnnmmm
30 Aug 2025 01:41
Forum: DOS Batch Forum
Topic: Utilities that do everything.
Replies: 2
Views: 5136

Re: Utilities that do everything.

how can i download choice.7z i need to try this for XP, this might be the answer i am looking for
by nnnmmm
30 Aug 2025 01:35
Forum: DOS Batch Forum
Topic: i am looking for a batch command choice.com for WinXP
Replies: 3
Views: 1071

i am looking for a batch command choice.com for WinXP

AA=choice /C:1234567890abcdefghijklmnopqrstuvwxyz /N /M "Input:" BB=choice /C:1234567890abcdefghijklmnopqrstuvwxyz /N "Input:" BB's choice.com is from DOS6.22 AA works for Win10, but XP doesnt have the choice command to make it work in XP, i used DOS 6.22's choice.com but DOS 6.22's choice.com cause...
by nnnmmm
30 Aug 2025 01:19
Forum: DOS Batch Forum
Topic: how can i get ansi.sys loaded in WinXP?
Replies: 2
Views: 1168

how can i get ansi.sys loaded in WinXP?

AA=echo esc[1;32mTTTTTTTTTTTTTT

AA works in DOS6.22 with ansi.sys loaded
AA naturally works in DOSBox
AA naturally works in DOSBox-x
AA works in Win98 with ansi.sys loaded
AA naturally works in Win10

but how can i get ansi.sys loaded in WinXP?
there is a file C:\windows\system32\ansi.sys in XP
by nnnmmm
29 Mar 2025 08:28
Forum: DOS Batch Forum
Topic: 3D rotating donut
Replies: 5
Views: 23916

Re: 3D rotating donut

replace set "_SIN=a-a*a/1920*a/312500+a*a/1920*a/15625*a/15625*a/2560000-a*a/1875*a/15360*a/15625*a/15625*a/16000*a/44800000" with set "_SIN=a-a*a/20000*a/30000+a*a/20000*a/30000*a/40000*a/50000-a*a/20000*a/30000*a/40000*a/50000*a/60000*a/70000" this is the issac newton or the 4th order taylor expan...
by nnnmmm
27 Mar 2025 02:26
Forum: DOS Batch Forum
Topic: string replacer for 1 file but it needs looping to replace many OldStrings with NewStrings
Replies: 2
Views: 13002

Re: string replacer for 1 file but it needs looping to replace many OldStrings with NewStrings

thanks it worked well, you actually make the SR.EXE (string replacer.exe) in your script. and i tried to make a subroutine out of it CALL :SR FILE "%%~a", it also worked but AA='s ECHO %FIND% has different strings than BB='s ECHO %FIND%, i spent several hours to find the reason, but none found by th...
by nnnmmm
17 Mar 2025 19:55
Forum: DOS Batch Forum
Topic: string replacer for 1 file but it needs looping to replace many OldStrings with NewStrings
Replies: 2
Views: 13002

string replacer for 1 file but it needs looping to replace many OldStrings with NewStrings

a difficult part of updating a software is NOT replacing an EXE or DLLs it is about how to re-modify INI and CONF again whose filesizes vary from 50k ~ 250K frequently, finding target strings causes a lot of headache in large files. i hope to put an end to this, my initial batch drawing board looks ...
by nnnmmm
03 Mar 2025 18:55
Forum: DOS Batch Forum
Topic: making a "CTRL-C" clipboard TXT file to save its history then pulls UP its contents
Replies: 1
Views: 8478

Re: making a "CTRL-C" clipboard TXT file to save its history then pulls UP its contents

a trial Clip4TB-append.txt has *****----- aaa *****----- bbb *****----- ccc *****----- ddd ***************************************************** REM my attempt starts from here @ECHO OFF SET FS=m:\Clip4TB-append.txt FOR /F %%V IN ('TYPE "%FS%" ^| FIND /C "*****-----"') DO SET C1=%%V ECHO. IF %C1% LS...
by nnnmmm
02 Mar 2025 09:41
Forum: DOS Batch Forum
Topic: making a "CTRL-C" clipboard TXT file to save its history then pulls UP its contents
Replies: 1
Views: 8478

making a "CTRL-C" clipboard TXT file to save its history then pulls UP its contents

Clip4TB-append.txt has like the below before *****----- 1 *****----- 2 *****----- 3 *****----- 4 after *****----- 2 *****----- 3 *****----- 4 1,2,3,4 from the above represent the contents of clipboard made by CTRL-C i need to make a "CTRL-C" clipboard to save its history if Clip4TB-append.txt has FO...
by nnnmmm
24 Feb 2025 22:22
Forum: DOS Batch Forum
Topic: CTRL-C "copy to clipboard", is there a way to make it a file? and extra question
Replies: 4
Views: 12729

Re: CTRL-C "copy to clipboard", is there a way to make it a file? and extra question

Clip2TXT.VBS halts and throws up an error message if the context has any form of picture icons or unicode next i tried GetClip.exe form the link, it did what Clip2TXT.VBS did the same way but it didnt throw up an error, it gave all it could do. so i chose getclip. i sent autohotkey's forum my 1st po...
by nnnmmm
23 Feb 2025 11:26
Forum: DOS Batch Forum
Topic: CTRL-C "copy to clipboard", is there a way to make it a file? and extra question
Replies: 4
Views: 12729

Re: CTRL-C "copy to clipboard", is there a way to make it a file? and extra question

Clip2TXT.VBS has Set objHTML = CreateObject("htmlfile") ClipboardText = objHTML.ParentWindow.ClipboardData.GetData("text") path = "C:\ZTREE\F9\Clip4TB.txt" Set objFSO = CreateObject("Scripting.FileSystemObject") Set objFile = objFSO.OpenTextFile(path, 2, true) objFile.WriteLine ClipboardText objFil...
by nnnmmm
23 Feb 2025 06:09
Forum: DOS Batch Forum
Topic: recursive dir name reading to make dir named batches(only 2 bytes used from reading)
Replies: 8
Views: 15792

Re: recursive dir name reading to make dir named batches(only 2 bytes used from reading)

>This indicates that you're running code in DosBox that implements its own command line interpreter. It inherently supports only a narrow subset of the commands of the old "command.com". i actually do not know what it means however my dosboxx path goes like this path=C:\;E:\Utility\DOSBox-X\BatchBox...
by nnnmmm
22 Feb 2025 22:52
Forum: DOS Batch Forum
Topic: recursive dir name reading to make dir named batches(only 2 bytes used from reading)
Replies: 8
Views: 15792

Re: recursive dir name reading to make dir named batches(only 2 bytes used from reading)

cmd /v /c " (for /f "delims=" %%a in ('dir /s/b/ad M:\0') do @set "N=%%~nxa" &set "n2=!n:~0,2!" &if NOT defined _!n2! (set "_!n2!=1" &echo T!n2!) else set "nx=T!n:~0,2!_!n:~2,3!" &if not defined !__nx! (set "__!nx!=3" & echo T!nx! -!n!) )&for /f "delims==" %%aa in ('set _') do @set "%%aa=" " is it o...
by nnnmmm
22 Feb 2025 22:45
Forum: DOS Batch Forum
Topic: how to get the string after "REG_SZ" or "REG_DWORD"?
Replies: 6
Views: 15213

Re: how to get the string after "REG_SZ" or "REG_DWORD"?

>I don't know if parenthesis ( "(" and ")" ) are part of the string. FOR /F "tokens=1,2 delims=~" %%A in (%WallP1:REG_SZ=~%) DO (SET Word1=%%A &SET Word2=%%B) i tried and it caused an error that said, system can not find wallpaper reg query "HKCU\some program\name" /v "wallpaper in this case" could ...
by nnnmmm
22 Feb 2025 22:19
Forum: DOS Batch Forum
Topic: CTRL-C "copy to clipboard", is there a way to make it a file? and extra question
Replies: 4
Views: 12729

CTRL-C "copy to clipboard", is there a way to make it a file? and extra question

CTRL-C this "copy to clipboard", is there a way to make (or force CTRL-C) it a file too just by clicking a CTRL-C? if so then, my TB(DOS True Basic compiler) would be able to include the "file's content" into the TB editor from dosboxx. if not... i need to disable CTRL-C and replace it with CTRL-C o...