Tag Archives: Batch Program
Create an Interactive Batch Program
Posted by admin
on October 20, 2011
No comments
Files on windows with the file extension ".bat" are called batch files. These are usually small files with some lines of Windows batch code that can help automate things for users. They are commonly used to do the following:
Add a share drive
Add a share printer
Replace shortcut files on your desktop
They can be used to do most of the common tasks we do on a windows machine. They are usually added to a users logon profile so that they are run every time that user logs into Windows. They can also be used as interactive programs to do the above mentioned items. Let's say you wanted to give a user the option of WHICH share drive he/she wanted to map. A normal batch script will just map a predefined share drive. Well, I'm going to show you how to write a batch script to ask the user which drive Read more [...]
