Free

Windows Batch - Assignment Example

Comments (0) Cite this document
Summary
It may contain any command that the interpreter accepts at the command prompt and they get interpreted one after the other. Windows…
Download full paperFile format: .doc, available for editing
GRAB THE BEST PAPER99% of users find it useful
Windows Batch
Read TextPreview

Extract of sample "Windows Batch"

Windows Batch Background information In windows, a batch file is a script file that contains a series of commands that are interpreted with the use of the command line interpreter. It may contain any command that the interpreter accepts at the command prompt and they get interpreted one after the other. Windows batch is applicable in all the Windows versions such as XP, Vista and Windows 7.
Importance
It is a powerful tool for carrying out repetitive tasks, if you are creating volumes of files, you do not need much workforce to realize your goals.
Network and system administration is much easier for both individuals and organizations applying Windows batch in their respective administrative roles.
Development environment
Environment, gives an opportunity to store variables necessary for storing the most relevant information needed to execute a given task. An example for Windows batch environment, is prompt, this approach specifies how a user would see a command when given a prompt command. Notepad can be used, run through command prompt or DOS. Running codes, or codding using Notepad is one of the easiest method to run commands in Windows. Using notepad, gives a good experiment to the developer to focus on the most applicable ways of delivering the files in the most optimized way to the end user.
Language syntax
Data types
Variables and strings
Declaring variables
Are marked with % sign
@echo off
set var1=Hello
set var2=World
echo %var1% %var2%!
set var1=
set var2=

First command is @echo off
@ECHO OFF
2
ECHO Hello World!
3
ECHO.
4
pause
Start command is the next,
1 START helloworld.bat
If statements
1
IF CONDITION (
2
ECHO X
3
) ELSE (
4
ECHO Y
5 )
Loop statements
1
IF NOT CONDITION (goto endloop)
2
REM The above will skip the loop if the condition isnt met in the first place.  Remove if you want do...while
3
:loop
4
REM Insert commands...
5
REM If, after all commands are executed, the condition is still true, the loop will restart in the line below.  Otherwise, it will continue on.
6
IF CONDITION (goto loop)
7
:endloop
Prompting for user input
set /p variable= [string]
"Variable" – it is the name of the variable that will be assigned to the data that you want the user to input.
"String" – it is the message that the user will see as a prompt.
Helpful websites
Laurie, Vic. Batch scripts in windows. http://commandwindows.com/batch.htm
 "Using batch files: Scripting; Management Services". Technet.microsoft.com. 2005-01-21. Retrieved 2015-2-24.
Jump up^ "File extension BAT - How to open". File-extensions.org. 2006-08-08. Retrieved 2015-2-24.
Beginners Guides: Understanding and Creating Batch Files- http://www.pcstats.com/articleview.cfm?articleID=1767
How to geek- http://www.howtogeek.com/67469/the-beginners-guide-to-shell-scripting-the-basics/
Newton, terry. Batch guide. http://www.infionline.net/~wtnewton/batch/batguide.html
Helpful Books
Mueller, John. Windows Command Line Administration Instant Reference. Indianapolis, Ind: Wiley, 2010. Internet resource.
Cowart, Robert, and Brian Knittel. Microsoft Windows 7 in Depth. Indianapolis, Ind: Que, 2010. Internet resource
Gibson, Darril. Windows 7 Desktop Support and Administration: Real World Skills for Mcitp Certification and Beyond. Indianapolis, Ind: Wiley, 2010. Internet resource.
Velte, Anthony T, Dennis R. Glendenning, and Toby J. Velte. Microsoft Windows Vista Administration. New York: McGraw-Hill, 2007. Print.
Work Cited
McFedries, Paul. Microsoft Windows Vista Unleashed. Indianapolis, Ind: Sams, 2008. Print. Read More
Cite this document
  • APA
  • MLA
  • CHICAGO
(“Windows Batch Assignment Example | Topics and Well Written Essays - 500 words”, n.d.)
Windows Batch Assignment Example | Topics and Well Written Essays - 500 words. Retrieved from https://studentshare.org/information-technology/1679863-windows-batch
(Windows Batch Assignment Example | Topics and Well Written Essays - 500 Words)
Windows Batch Assignment Example | Topics and Well Written Essays - 500 Words. https://studentshare.org/information-technology/1679863-windows-batch.
“Windows Batch Assignment Example | Topics and Well Written Essays - 500 Words”, n.d. https://studentshare.org/information-technology/1679863-windows-batch.
  • Cited: 0 times
Comments (0)
Click to create a comment or rate a document

CHECK THESE SAMPLES OF Windows Batch

Broken Windows

...Broken Windows Theory The broken windows theory is a concept established to explain how serious crimes occur after a cycle of activities, from minor issues that are left unattended early in their development. The theorists used the broken window, as a representation of a minute disorder that often needs to be fixed after its detection to avoid more related harm. Typically, assuming a window is broken in a neighbourhood occupied by people, there is the tendency that some people will think the house is abandoned or unmaintained. From that point, some would want to peep inside, others would delight in more damages to the rest of the windows; hence, if a principled individual had passed by it and noticed the difference over time... , they will...
7 Pages(1750 words)Essay

Windows OS

...Windows Server 2003 Windows Server 2003 is a server operating system formed by Microsoft. Introduced on April 24, 2003 as the successor to Windows 2000 Server, it is considered by Microsoft to be the foundation stone of their Windows Server System line of business server goods. Windows Vista Windows Vista is a row of graphical operating systems used on personal computers, as well as home and business desktops, notebook computers, Tablet PCs, and media centers. Windows vista contains a new graphical user interface and a visual style dubbed Windows Aero. Differences The major difference between the two...
2 Pages(500 words)Essay

Batch Distillation Column

...BATCH DISTILLATION COLUMN BATCH DISTILLATION COLUMN Summary Distillation is a process that is vital in the separation of liquid mixtures. This process can be conducted in either a continuous or discontinuous manner. That the latter is the basis of batch distillation. In batch distillation, the apparatus for use are loaded with the mixture to be separated at the start-up time. Different fractions of the mixture are then taken out one after another that is in batches, thus giving this process its name. The batch operation is divided into two periods, which describe the entire process. These are; the start-up period, and the production...
2 Pages(500 words)Assignment

Batch Distillation Column

...MCCABE-THIELE ANALYSIS OF BATCH DISTILLATION Results and Inferences The following results were obtained during the batch distillation experiment: Thermocouple After 15 minutes After 30 minutes Steady State T1 77 78 70 T2 64 63 64 T3 63 63 63 T4 63 63 63 Take-off sample: 66 Bottom Sample: 97 After 15 minutes After 30 minutes Steady State Top 1.33089 1.32980 1.32937 Bottom 1.33445 1.33448 1.33447 From the Composition-Refractive Index graph that has been provided, the above data on refractive index at different times becomes useful. The refractive index for the sample is indicative of the composition of the mixture at the particular instance. In particular, the mole fraction of methanol in the mixture is...
2 Pages(500 words)Assignment

Windows Vulnerability

...Vulnerability Report The TLS Protocol CBC Mode Information Disclosure Vulnerability is found on a variation of windows operating systems. This bug allows an attacker to gain remote access to the target systems, meaning that they have unauthorized and uncontrolled access to an organization’s sensitive information. This is, primarily, due to the fact that design flaws exist when using the cipher-block chaining (CBC) approach of operation within the encryption protocols used at the transport layer. It is in this way that malicious attackers could lure system users to websites that contain malicious code, upon which, requests will be processed allowing them access to the target systems. This report highlights the details of...
2 Pages(500 words)Research Paper

Broken Windows

...Broken Windows The ‘Broken-Window’ theory postulates that public disorder is the slippery slope which leads to serious crime. The ‘Broken Window’ symbolizes the breakdown of the informal controls which regulate public behavior. By maintaining public order, the police can apply this approach to prevent crime. Broken Windows. 1 What does the term ‘Broken Windows’ refer to in the context of crime and disorder in communities? The term ‘Broken Windows,’ has its origins in Social Psychology, where it communicates the message that ‘no one cares.’ The ‘Broken Window’ theory is also relevant in the context of crime and disorder...
2 Pages(500 words)Essay

Windows server

...Windows Server 2008 Windows Server 2008 refers to a Server released by Microsoft as an up to the Windows Vista Server. The release of this server came with additional features such as improved security and more use friendly applications. This document serves to showcase the advantages and disadvantages of the system. It also shows the procedure to be undertaken when migrating from a previous server to Windows Server 2008. To start off, a SWOT analysis of the server shows a four sided viewpoint of the server. SWOT analysis on the viability of upgrading to Server 2008 Strengths Weaknesses 1. Windows Server has bit locker technology that encrypts all the...
8 Pages(2000 words)Research Paper

Windows Server 2008 and Windows 7

...Windows Server 2008 and Windows 7 Windows 7 This is one of the greatest desktop operating systems and it is not a Server operating system. Windows 7 has improved performance whereby the application launch times and system boot time has prominently decreased. It has new optimization tools that assist in decreasing battery usage, enabling individuals using portable computers more cord free time. On the other hand, windows 7 has new options that enable an individual to look for keywords in storage devices attached, documents and emails (Krebs, 2009). In addition, this operating system can be virtualized and allows several operating systems to be present in...
1 Pages(250 words)Essay

Windows 8.1

...Windows 8 Introduction Windows 8 offers a wide range of features and up d apps to benefit its users. However, it lacks ease of use in comparison to its older versions. From a business oriented perspective, this may help the software become lucrative to professional users who are well acquainted with the features and apps of Windows 8.1 or have need for such tools (The New York Times Company, 2013). The objective of the paper is to discuss about the upgraded version of Windows 8.1 from a critical perspective. This assignment elaborates on the new features and apps of Windows 8.1, comparing those with the older versions, on the basis of their ease of access. Correspondingly, a user-point of view has been considered in this essay... . ...
2 Pages(500 words)Essay

Batch and Real-Time Processing

...Batch and Real-Time Processing al Affiliation) Introduction It is prudent for every manager to ensure that productivity is efficient even though there is no pre-defined advantage of using either batch or real-time processing. Both processes are suitable for different transactions; hence, the weight of one over the other depends on the type of transaction. In a situation where batch processing is suitable, it would be beneficial to employ the process over the real-time processing. It is prudent to understand the abilities of both processes then evaluate their suitability on the type of transaction. As such, the basic variation between the two is that batch processing...
2 Pages(500 words)Assignment
sponsored ads
We use cookies to create the best experience for you. Keep on browsing if you are OK with that, or find out how to manage cookies.

Let us find you another Assignment on topic Windows Batch for FREE!

Contact Us