Batch for User Input in Notepad | Interactive Command Prompt Scripts

preview_player
Показать описание
In this tutorial, we're diving into the world of batch scripting in Notepad by creating interactive command prompt scripts that prompt the user for input. Whether you're automating tasks, creating interactive menus, or building dynamic workflows, batch scripting is a versatile tool that can streamline your processes. Join us as we guide you through the process of creating batch files in Notepad that solicit user input, allowing for personalized and responsive command line interactions. Don't miss out on this hands-on tutorial! Subscribe for more tech tutorials and scripting insights
Рекомендации по теме
Комментарии
Автор

I made a menu batch file for DOS using the choice command and with checking the errorlevel in reverse order highest first. The set command in DOS have other switches and can’t be used for user input.

I can make a new external DOS command for user input, but most times i made batch files that need to start with one or more parameter(%1 %2 %3) attached. Example with row color "text" attached: CENTER.BAT 8 1b "output colored text center align".

The parameter are used to build a routine to calculate the position for output the text on the DOS text screen. To build the routine i use batch files as an open source container to put all instructions into the batch file. Have fun. 😊

maxmuster
join shbcf.ru