Create a batch script file and save it

Assignment Help Basic Computer Science
Reference no: EM13929051

Executing Windows CLI Commands in a Batch File.

1.  I need to write a batch script file using Notepad++ and name it MyCommand.cmd

2. I then need to write a pseudocode statements for my script. I wrote the script but it doesn't work when I copy and paste it into the CLI.  I'm supposed to create a batch script file and save it but I'm not sure of how to retrieve it from the CLI because I'm not sure which command to use to retrieve it so it can run in the CLI.

Here is the script:

cls

@echo off

Rem Jerry Springer

Rem January 2014

echo MyCommands.cmd Script is now running

echo.

netsh interface ip show config NIC

netsh interface ip set address source=static 150.100.10.60 255.255.255.0 150.100.10.1 0

timeout /t 6 > nul

netsh interface ip show config NIC

netsh interface ip set address NIC source=dhcp

timeout /t 6 > nul

netsh interface ip show address config NIC

echo.

 

shutdown /s /t 60 /c "Local Shutdown in 1 minute!!"

timeout /t 4 > nul

shutdown /a

echo Shutdown has been Aborted

echo.

echo End of Script

Reference no: EM13929051

Questions Cloud

Assume the van was sold on january : Assume the van was sold on January 1, 2016, for $21,000. Prepare the journal entry for the sale of the van in 2016.
Measure the ocv of your solar panel : Measure the OCV of your solar panel in the sun or with a 100 watt incandescent bulb shining on it.
How has this course changed your approach to leadership : Go to the contents of any current (2001-present), peer-reviewed leadership journal; find any topic that is receiving increased emphasis by researchers. Describe the topic in one paragraph, including a brief overview of methodology. What are the im..
Assignment on presenting to stakeholders : Resource: pp. 192-193 (Ch. 6) of Understanding Financial Statements Read the scenario in Problem 6.9 on p. 234 (Ch. 6).
Create a batch script file and save it : Write a pseudocode statements for my script. I wrote the script but it doesn't work when I copy and paste it into the CLI.  I'm supposed to create a batch script file and save it but I'm not sure of how to retrieve it from the CLI because I'm not sur..
Recognize depreciation for each of the five years : Prepare the journal entries to recognize depreciation for each of the five years, assuming that the company uses.
What leadership theory would you use in a crisis situation : What leadership theory would you use in a crisis situation? In your own words, describe contingency leadership. What is your favorite theory and why?
Receivables investment : Medwig Corporation has a DSO of 27 days. The company averages $8,750 in credit sales each day. What is the company's average accounts receivable? Round your answer to the nearest dollar.
Cash management-maintaining the same level of sales : Williams & Sons last year reported sales of $7 million and an inventory turnover ratio of 3.5. The company is now adopting a new inventory system. If the new system is able to reduce the firm's inventory level and increase the firm's inventory turnov..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd