Search found 120 matches

by IcarusLives
23 Jul 2020 13:36
Forum: DOS Batch Forum
Topic: Problem with ELSE.
Replies: 2
Views: 249

Re: Problem with ELSE.

Perhaps your problem is this line?

Code: Select all

chkdsk %Drive%: /F
It should be

Code: Select all

chkdsk %Drive%:\ /F
by IcarusLives
05 Jun 2020 12:12
Forum: DOS Batch Forum
Topic: Batch wont display anything on my new PC???
Replies: 5
Views: 860

Re: Batch wont display anything on my new PC???

ShadowThief wrote:
05 Jun 2020 10:43
If it's just a black screen, blindly type color 07 and see if that fixes things
LOL Wow thank you so much. I feel like such an idiot. Yes this worked. Thank you so much!
by IcarusLives
05 Jun 2020 08:25
Forum: DOS Batch Forum
Topic: Batch wont display anything on my new PC???
Replies: 5
Views: 860

Batch wont display anything on my new PC???

I have no idea why, but after I got my new PC, batch wont display anything for me? I've tried everything from messing with the fonts, and properties. The only thing i can thing is possibly my "nonactivated" version of win 10. Any ideas? INFO.BAT version 1.5 ------------------------------------------...
by IcarusLives
16 Aug 2019 12:51
Forum: DOS Batch Forum
Topic: Call bug using silent operator @
Replies: 2
Views: 3731

Re: Call bug using silent operator @

While this is a very interesting find, it is SUBSTANTIALLY slower than using REM @echo off echo %time% for /l %%a in (1,1,1000000) do rem echo %time% echo. echo %time% for /l %%a in (1,1,1000000) do call @ this is a comment echo %time% pause 14:49:04.92 14:49:06.18 14:49:06.18 14:50:37.22 Press any ...
by IcarusLives
12 Aug 2019 08:50
Forum: DOS Batch Forum
Topic: Button functions via VT100, and Mouse.exe
Replies: 0
Views: 16911

Button functions via VT100, and Mouse.exe

Hello! I have been working on some functions that allow you to click the console with a 3rd party called Mouse.exe MOUSE.EXE -> http://www.mediafire.com/file/96p9tqu4d500fli/bin.zip https://gyazo.com/c29b59950891ce7924518676342ed030.gif I thought this would be a fun project to limit user input. Over...
by IcarusLives
11 Aug 2019 13:08
Forum: DOS Batch Forum
Topic: Pointer digital dual display clock - Windows 10 Console Virtual Terminal Sequences
Replies: 2
Views: 3795

Re: Pointer digital dual display clock - Windows 10 Console Virtual Terminal Sequences

Absolutely beautiful execution! I love graphical scripts like this, and you're consistent! Very well done! Excellent use of math. Bravo, sir! :D :D :D
by IcarusLives
17 Jun 2019 13:37
Forum: DOS Batch Forum
Topic: Animated loading screen
Replies: 8
Views: 8419

Re: Animated loading screen

Generally whatever it is that is loading, you can prompt it within the code to do so. For example... @echo off for /l %%a in (1,1,100) do ( cls echo Currently working: %%a... ) echo done pause This "loading" would be quite fast though. If you're looking for something "PURELY" aesthetic, then that is...
by IcarusLives
29 May 2019 22:02
Forum: DOS Batch Forum
Topic: Text Files - Coloured Characters
Replies: 6
Views: 3532

Re: Text Files - Coloured Characters

-snip- I very much appreciate you using MY code as an example! How exciting :) OP, Here are some examples of coloring with VT100. Mind you, this is a WIN10 feature. The method below is using string substitution. You will notice VT100 colors very quickly. @echo off & setlocal enableDelayedExpansion ...
by IcarusLives
11 May 2019 10:11
Forum: DOS Batch Forum
Topic: Microsoft New Terminal - Thoughts???
Replies: 1
Views: 1365

Microsoft New Terminal - Thoughts???

https://youtu.be/KMudkRcwjCw

Above is the link to the video!

I'm curious about thoughts on the new terminal? I still have so many questions. It is said to release "winter" 2019
by IcarusLives
07 May 2019 22:07
Forum: DOS Batch Forum
Topic: Fire-Colored particle system
Replies: 6
Views: 2455

Fire-Colored particle system

Hello everyone, Here is a particle system! they change colors as they rise. Not much to be impressed about, just a fun visual. Enjoy! https://gyazo.com/eb85e26ab0ea2079abdde05b67600143.gif @echo off & setlocal enableDelayedExpansion ( for /f %%a in ('echo prompt $E^| cmd') do set "esc=%%a" ) & echo ...
by IcarusLives
07 May 2019 22:04
Forum: DOS Batch Forum
Topic: 3D points to 2D projection
Replies: 0
Views: 14928

3D points to 2D projection

Hello! I have been experimenting with 3D points, and I am seeking further knowledge! If anyone can lead me to some valuable threads or sites I would very much appreciate it! Thanks in advanced :) https://gyazo.com/840f9d75eff0f545aea7b69b9b5e0b15.gif @echo off & setlocal enableDelayedExpansion call ...
by IcarusLives
07 May 2019 21:59
Forum: DOS Batch Forum
Topic: The beauty of Recursion
Replies: 0
Views: 14739

The beauty of Recursion

Just wanted to share some simple recursive functions as a friendly reminder that recursion is our friend! No help necessary unless you really just find this neat. Please enjoy :) https://gyazo.com/aae956c231d70874a04e8faf1feb270d.png @echo off & setlocal enableDelayedExpansion & call :math :main cal...
by IcarusLives
02 May 2019 09:42
Forum: DOS Batch Forum
Topic: LERP() function
Replies: 4
Views: 1915

Re: LERP() function

Hey! Thanks for the performance update! More or less, I just wanted to demonstrate the function with some very readable code. My hopes were that it would appear "easy to use". LERP is useful for a lot things, but I am still learning about it. The code below demonstrates how LERP can be used to "foll...
by IcarusLives
01 May 2019 23:35
Forum: DOS Batch Forum
Topic: LERP() function
Replies: 4
Views: 1915

Re: LERP() function

Solved my original problem, and released the function. Hope it comes useful!
by IcarusLives
30 Apr 2019 22:59
Forum: DOS Batch Forum
Topic: LERP() function
Replies: 4
Views: 1915

LERP() function

Hello, I finally figure out my LERP function formula! Please view https://en.wikipedia.org/wiki/Linear_interpolation set "lerp=?=(a+c*(b-a)*1000)/100000+a" Tested with this code, trying to simulate the "chaos game" @echo off & setlocal enableDelayedExpansion & mode 100,100 ( for /f %%a in ('echo pro...