Create a batch file named user.bat . The batch file must use the net user command to
Question:
Create a batch file named user.bat . The batch file must use the net user command to add a local user account
to the computer. The user’s login name and password must be passed to the batch file by the user at the time
the batch file is executed (parameters). The command must use the parameters entered by the user when
creating the account. Before creating the account, you must check if the account already exists. If the
account already exists, display an informative message to the user (sample message provided below) and end
the batch file. If the account doesn’t exist yet, create it and display an appropriate message (sample
message provided below). The only messages that should be displayed in the output are those that you
provided; no system messages should be displayed. You must use conditional processing symbols - no IF
statements for this one. This doesn’t mean you can’t use labels! DO NOT nest a bunch of conditional
statements on ONE line.
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill