@@Quiet-Coder hey I have a question in which programming language should I start that is easy, why has this been complicated for me, could you help me?
@@weirdo-84-s3k I would suggest first clear your basic concepts, like variable, if else, and etc. Then try out some other things like loops, but I suggest not to learn loops in batch script because they're too complicated except learn them in a language like python or JavaScript. After that you should go for a language like python or JavaScript, because they are popular and not very complicated and you can also find help on platforms like stack overflow. But remember to not stress too much, sometimes a simple concept will be hard to learn so take your time, and enjoy the journey! ☺️
Wait, Windows is not the first command prompt from MS. The first command prompt was MS DOS. So it can’t be a full tutorial on command prompt from MS without MS DOS.
Hi, I made a calculator @echo off :a title Calculator echo Hello, welcome to the calculator, ask any math question! echo Your previous number calculated was: (%ans%) echo _______Calculator_______ echo. set /p expression=Enter expression to calculate: echo. rem Using PowerShell to evaluate the expression to handle large numbers for /f "delims=" %%i in ('powershell -command "try { [math]::Round((%expression%)) } catch { 'ERROR' }"') do set ans=%%i rem Check if the expression is valid if "%ans%" == "ERROR" ( echo Invalid expression. Please try again. ) else ( echo The answer is %ans% ) echo pause goto a Now save this as a Calculator.bat file I dare you 😊
Commands link: github.com/QuietCoderYT/Batch-Script-Course/blob/main/Cheatsheet%20tutorial%20wise/TUT%20-%201.txt
Thank you bro
Thanks for much second part please
@@weirdo-84-s3k actually this is the first part which I recreated. And 2nd part will come soon!
@@Quiet-Coder :D
@@Quiet-Coder hey I have a question in which programming language should I start that is easy, why has this been complicated for me, could you help me?
@@weirdo-84-s3k I would suggest first clear your basic concepts, like variable, if else, and etc. Then try out some other things like loops, but I suggest not to learn loops in batch script because they're too complicated except learn them in a language like python or JavaScript.
After that you should go for a language like python or JavaScript, because they are popular and not very complicated and you can also find help on platforms like stack overflow.
But remember to not stress too much, sometimes a simple concept will be hard to learn so take your time, and enjoy the journey! ☺️
@@Quiet-CoderThanks for much ❤🎉
yo, i watched your "iloveyou in txt" video, for how long does it shut off the pc?
@@nuvolatonante you can turn it back on immediately, and you can try the code from pinned comment for instant shutdown.
Wait, Windows is not the first command prompt from MS. The first command prompt was MS DOS. So it can’t be a full tutorial on command prompt from MS without MS DOS.
@@maxmuster7003 exactly
Hi, I made a calculator
@echo off
:a
title Calculator
echo Hello, welcome to the calculator, ask any math question!
echo Your previous number calculated was: (%ans%)
echo _______Calculator_______
echo.
set /p expression=Enter expression to calculate:
echo.
rem Using PowerShell to evaluate the expression to handle large numbers
for /f "delims=" %%i in ('powershell -command "try { [math]::Round((%expression%)) } catch { 'ERROR' }"') do set ans=%%i
rem Check if the expression is valid
if "%ans%" == "ERROR" (
echo Invalid expression. Please try again.
) else (
echo The answer is %ans%
)
echo
pause
goto a
Now save this as a Calculator.bat file I dare you 😊
why?