Search found 653 matches
- 30 Jun 2025 02:08
- Forum: DOS Batch Forum
- Topic: Get set /p to accept file suffix.
- Replies: 11
- Views: 65
Re: Get set /p to accept file suffix.
Works as expected. c:\temp>a >Enter the 'File Type' [Suffix] including the decimal point and Asterix if applicable and press <Enter>: *.xls* *.xls* >Enter the 'File Type' [Suffix] including the decimal point and Asterix if applicable and press <Enter>: .xls* .xls* >Enter the 'File Type' [Suffix] inc...
- 29 Jun 2025 11:25
- Forum: DOS Batch Forum
- Topic: Get set /p to accept file suffix.
- Replies: 11
- Views: 65
- 29 Jun 2025 11:25
- Forum: DOS Batch Forum
- Topic: Get set /p to accept file suffix.
- Replies: 11
- Views: 65
Re: Get set /p to accept file suffix.
Works for me too.
Windows 10, 64-bit.
Saso
Windows 10, 64-bit.
Saso
- 24 Jun 2025 04:04
- Forum: DOS Batch Forum
- Topic: AutoMenu.bat: simple multi-level menu system (with a coherent help on Windows-DOS commands)
- Replies: 21
- Views: 79946
Re: AutoMenu.bat: simple multi-level menu system (with a coherent help on Windows-DOS commands)
Did you see this note from Aacini: A small drawback in the scheme used is that the maximum lenght of nested names (260 characters) may be reached if you use very long names with several levels deep. If the "Windows-DOS Commands Help" menu system don't show full names or don't works correctly, try to...
- 21 May 2025 02:37
- Forum: DOS Batch Forum
- Topic: edit command (CLI text editor) returns to Windows
- Replies: 3
- Views: 8776
Re: edit command (CLI text editor) returns to Windows
EDLIN.COM 2392 bytes.
Those were the days.
Saso
Those were the days.
Saso
- 25 Mar 2025 00:05
- Forum: DOS Batch Forum
- Topic: 3D rotating donut
- Replies: 5
- Views: 9478
Re: 3D rotating donut
Thank you. Very interesting. I also checked other videos he has.
Saso
Saso
- 17 Mar 2025 02:38
- Forum: DOS Batch Forum
- Topic: 3D rotating donut
- Replies: 5
- Views: 9478
Re: 3D rotating donut
I am very impressed! Though I don't understand the code at all (I don't even know how to do it 'by hand').
Saso
Saso
- 05 Mar 2025 05:09
- Forum: DOS Batch Forum
- Topic: Dos Batch Math Library
- Replies: 73
- Views: 257876
Re: Dos Batch Math Library
@einstein1969:
Thanks.
Makes sense.
Saso
Thanks.
Makes sense.
Saso
- 25 Feb 2025 01:57
- Forum: DOS Batch Forum
- Topic: Put Desktop to sleep from Laptop
- Replies: 5
- Views: 5749
- 24 Feb 2025 23:53
- Forum: DOS Batch Forum
- Topic: Put Desktop to sleep from Laptop
- Replies: 5
- Views: 5749
Re: Put Desktop to sleep from Laptop
Unfortunately that has nothing to do with my problem. Info in the link: Seems for Win11 it is turned off to use SLEEP function due to Modern StandBy S0 mode and I went into BIOS and changed the sleep mode to Linux (S3) just to see what happens. Then I was able to put the PC to sleep. Read entire th...
- 24 Feb 2025 13:18
- Forum: DOS Batch Forum
- Topic: Put Desktop to sleep from Laptop
- Replies: 5
- Views: 5749
- 20 Feb 2025 12:52
- Forum: DOS Batch Forum
- Topic: how to get the string after "REG_SZ" or "REG_DWORD"?
- Replies: 6
- Views: 7101
Re: how to get the string after "REG_SZ" or "REG_DWORD"?
I don't know if parenthesis ( "(" and ")" ) are part of the string. So if they are not then maybe you could just remove strings 'wallpaper' and 'reg_szs' and you have a result. Or maybe take a colon (:) as a delimiter. Take the first argument and take the last character and then add the second argum...
- 20 Feb 2025 00:54
- Forum: DOS Batch Forum
- Topic: disable x button
- Replies: 10
- Views: 12663
Re: disable x button
Thanks again!
You always have a clever solution (short and efficient).
Saso
You always have a clever solution (short and efficient).
Saso
- 19 Feb 2025 11:52
- Forum: DOS Batch Forum
- Topic: disable x button
- Replies: 10
- Views: 12663
Re: disable x button
I checked your FOR solution. It is great. And as you mention I can add additional check for the current directory.
The idea with the 2>nul is also great.
Thanks for the help.
Saso
The idea with the 2>nul is also great.
Thanks for the help.
Saso
- 19 Feb 2025 01:45
- Forum: DOS Batch Forum
- Topic: disable x button
- Replies: 10
- Views: 12663
Re: disable x button
Thanks Steffen. Of course code could be shortened: disableX.exe 1 set errlev=%errorlevel% if "%errlev%"=="99" if "%username%"=="JOHN" disableX.exe if "%errlev%"=="99" if "%username%"=="JANE" disableX.exe if "%errlev%"=="99" if "%username%"=="MARY" disableX.exe if "%errlev%"=="99" if "%username%"=="J...