Set /p val1= " Enter first value :" set /p val2= " Enter second value :"Įcho ********* arithmetic operator demo ************ Rem set /p is used for prompt reading on variable you can create batch script in Notepad++.batch script has extension. Launch command prompt and start DOS batch programming. As mentioned above, I am a BI and database consultant, so my research and article contents are based on that experience only. Users only require basic programming skills with excellent knowledge of DOS commands to learn batch programming. It becomes extremely powerful when programming is applied over these commands and commands output. BackgroundĭOS batch script uses DOS commands with many programming stuff. I will be explaining different tokens to learn DOS batch script through out this post. Although DOS is nowhere used but its scripting and commands are powerful too. This post is based on learning programming skills for DOS batch script. It could be for cleansing dirty files, managing file system related task, handling any executable utility through command line, automation of any process, etc. No matter what BI platform you are using, sometimes, you require to develop such script to make your job easy. I used a different scripting language to solve a specific problem many times in my work profile. Mostly, I work on SQL Server and BI related technology, but traditionally I assume myself as a programmer. Professionally, I am a database and BI consultant.