Command Prompt - FULL TUTORIAL 👨‍💻

Поділитися
Вставка
  • Опубліковано 17 січ 2025

КОМЕНТАРІ • 19

  • @Quiet-Coder
    @Quiet-Coder  5 місяців тому +2

    Commands link: github.com/QuietCoderYT/Batch-Script-Course/blob/main/Cheatsheet%20tutorial%20wise/TUT%20-%201.txt

  • @RitaNaskar-cu2qm
    @RitaNaskar-cu2qm 5 місяців тому +1

    Thank you bro

  • @weirdo-84-s3k
    @weirdo-84-s3k 5 місяців тому +2

    Thanks for much second part please

    • @Quiet-Coder
      @Quiet-Coder  5 місяців тому +3

      @@weirdo-84-s3k actually this is the first part which I recreated. And 2nd part will come soon!

    • @weirdo-84-s3k
      @weirdo-84-s3k 5 місяців тому +1

      @@Quiet-Coder :D

    • @weirdo-84-s3k
      @weirdo-84-s3k 5 місяців тому

      @@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?

    • @Quiet-Coder
      @Quiet-Coder  5 місяців тому +1

      @@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! ☺️

    • @weirdo-84-s3k
      @weirdo-84-s3k 5 місяців тому

      ​@@Quiet-CoderThanks for much ❤🎉

  • @nuvolatonante
    @nuvolatonante 5 місяців тому +1

    yo, i watched your "iloveyou in txt" video, for how long does it shut off the pc?

    • @Quiet-Coder
      @Quiet-Coder  5 місяців тому +1

      @@nuvolatonante you can turn it back on immediately, and you can try the code from pinned comment for instant shutdown.

  • @maxmuster7003
    @maxmuster7003 5 місяців тому +2

    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.

    • @Quiet-Coder
      @Quiet-Coder  5 місяців тому +3

      @@maxmuster7003 exactly

  • @hariamsu6543
    @hariamsu6543 5 місяців тому +3

    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 😊