Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

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

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91601930
  • Price:- $20

Priced at Now at $20, Verified Solution

Have any Question?


Related Questions in Computer Engineering

Question what is static and dynamic binding explain with

Question : What is static and dynamic binding? Explain with example how you can implement dynamic binding. The response must be typed, single spaced, must be in times new roman font (size 12) and must follow the APA form ...

Whats your answer about the equilibrium change from an

What's your answer about the equilibrium change from an event which decreases both demand and supply? You don't need to provide graph here. Just describe the curve shifts and how the equilibrium price and equilibrium qua ...

Questionsummarize the ways that third-party cookies are

Question Summarize the ways that third-party cookies are created and processed. Even though cookies are not supposed to contain personally identifying data, explain how such data can readily be obtained.

Combustion analysis of a hydrocarbon produces 3301 g co2

Combustion analysis of a hydrocarbon produces 33.01 g CO2 and 27.03 g H 2O Calculate the empirical formula of the hydrocarbon. Express your answer as a chemical formula.

Assume that todayis your 25thnbspbirthday and have an

Assume that todayis your 25th birthday and have an annual salary of $60,000 (+ super). Your salary is expected to grow by 3% per year before reaching retirement age (your 65th birthday). You are currently doing some rese ...

Rebecca borrows 10000 at 18 compounded annually she pays

Rebecca borrows $10,000 at 18% compounded annually. She pays off the loan over a 5-year period with annual payments, starting at year 1. Each successive payment is $700 greater than the previous payment. (a) How much was ...

Question summarize the process of how cameras and scanners

Question : Summarize the process of how cameras and scanners produce digital images. Compare differences between the production of images on film and digital images.

Question project assignment is to have you do more research

Question: Project assignment is to have you do more research on the physical security topic. In theory, everything may look straight forward, however, in real life it might not be like that. In this project you will need ...

Scenario 1 19500 ascii characters are transmitted over a 3

Scenario 1: 19,500 ASCII characters are transmitted over a 3 Mbps circuit. The protocol uses 8-bits to encode each ASCII character, and adds an additional parity bit to help detect errors. Calculate the transmission effi ...

A professor collected data on the number of absences in an

A professor collected data on the number of absences in an introductory statistics class of 100 students over the course of a semester. The data are summarized below. Number of Absences 0 1 2 3 4 5 6 Number of Students 5 ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As