Free Essay

Apa Scripting Week 6

In:

Submitted By holycheck
Words 355
Pages 2
In this paper we shall discuss what exactly VBscript text file reading and writing. We will go through what the name of the WSH object that VBScript uses to open a text file and other things that VBScript does when it comes to code line and such. VBScript is an important tool and can be very powerful to wield once you gain a good grasp of the knowledge it requires you to know.
The name of the WSH object that VBScript uses to read text and or writing data is known as FileSystemObject, within a script FSO will create an object that the user can adjust. User should be warned though with files known as CreateFolder and DeleteFile, because if you were to make a mistake here it could set back a lot of your work while you were writing the code. Lastly if you want to get the text into file you can simply use WriteLine and write.
There are multiple methods that are used within VBScript to read and write lines of code. I will go through a few then give an example of how they are used. A method that is used in order to read a line, or single code is called Create TextFile Method, and what this does is it will create a specified file name and returns a TextStream object that can be used to read from or write the filein order to read a single or multiple there is also Readline Method and ReadAll method. Another method that is used to write is called Write Method, it will write a specified string to a TextStream file. There is also WriteBlanksLines Method, and Writeline Method for a newline of characters or for a string of newline characters. Function WriteLineToFile Const ForReading = 1, ForWriting = 2 Dim fso, f Set fso = CreateObject("Scripting.FileSystemObject") Set f = fso.OpenTextFile("c:\testfile.txt", ForWriting, True) f.WriteLine "Hello world!" f.WriteLine "VBScript is fun!" Set f = fso.OpenTextFile("c:\testfile.txt", ForReading) WriteLineToFile = f.ReadAll End Function
Bibliography
William R. Stanek, J. O. (2009). Microsoft PowerShell,VBSCript, and JScript. Indianapolis: Wiley Publishing.

Similar Documents

Free Essay

Management

...|[pic] |Syllabus | | |College of Information Systems & Technology | | |POS/355 Version 9 | | |MU12BIT08 | | |Introduction to Operational Systems | | |Wk 1 June 10 | | |Wk 2 June 17 | | |Wk 3 June 24 | | |Wk 4 July 01 | | |Wk 5 July 08 ...

Words: 2247 - Pages: 9

Premium Essay

Comp 230

...course introduces basic programming concepts, logic, and scripting language tools used to automate basic system administrator processes. Critical thinking, logic, and troubleshooting are emphasized. Database applications are also introduced, helping students develop basic skills in using a typical database. Security topics are discussed. I am looking for someone on a weekly basis to login in to my online class and work on assignments, and discussion posts. Also a ilab, and short quizes multiple choice. There is also a course project: Your company is currently planning to automate many different system administration tasks. Your manager has asked you to research a system administration task and implement it using VBScript. In addition, your manager would like to see both a proposal that describes the system administration task and a complete VBScript solution with sample output runs. During the first 6 weeks of this course, you will be introduced to a variety of topics in VBScript. These topics include the following. VBScript Introduction: Variables, Constants, and Data Types VBScript Output Methods, VBScript Input Methods VBScript Decision-Making Statements VBScript Loop Structures and Arrays VBScript Procedures and Functions VBScript File Input/Output Methods The Course Project is worth 170 points and is comprised of the following deliverables. Week 3: Outline (30 points) Week 6: Complete proposal (140 points) The following is a list...

Words: 343 - Pages: 2

Premium Essay

Syllabus

... | | |College of Information Systems & Technology | | |WEB/240 Version 1 | | |Web Design Fundamentals | Copyright © 2013 by University of Phoenix. All rights reserved. Course Description This course introduces development tools and techniques used to publish web pages on the World Wide Web. Students use basic hypertext markup language, scripting, and presentational technologies to create websites with the aid of a software authoring application. Topics include XHTML, CSS, JavaScript®, server hosting, site publication, site maintenance, and search engine optimization. Policies Faculty and students/learners will be held responsible for understanding and adhering to all policies contained within the following two documents: • University policies: You must be logged into the student website to view this document. • Instructor policies: This document is posted in the Course Materials forum. University policies are subject to change. Be sure to read the policies at the beginning of each class. Policies may be slightly different depending on the modality in which you...

Words: 2689 - Pages: 11

Free Essay

Final Project Report

...Final Project Report for Media Tracking System Version 2.0 approved [pic] Table of Contents Table of Contents i Revision History iii Group Members iii 1. Final Project Summary i 1.1. Content Summary i 1.2. Lessons Learned ii 1.3. Learning Outcomes Summary ii 1.3.1 Communications iii 1.3.2 Critical Thinking v 1.3.3 Network Design v 1.3.4 Management Information Systems v 1.3.5 Systems Administration and Scripting vi 1.3.6 Security vi 1.3.7 Employability vi 2. Future directions vii 3. Annotated Bibliography viii 4. Appendix A: Vision and Scope viii 5. Appendix B: Status Report 1 15 6. Appendix D: Presentation Slides 27 7. Appendix E: Other Deliverables/Artifacts 27 Revision History |Name |Date |Reason For Changes |Version | |Kenneth Wright |07/01/2010 |Initial Draft |1.0 | |Kenneth Wright, et al |07/15/2010 |With contributions and edits from all team members, we |1.5 | | | |refined the document | | |Kenneth Wright, et al |07/23/2010 |Style, editing, additional information from all team |1.6 ...

Words: 3643 - Pages: 15

Premium Essay

Course Design Guide It/237

...This course introduces development tools and techniques used to publish Web pages on the World Wide Web. Students use basic Hypertext Markup Language (HTML), scripting, and presentational technologies to create ™ websites without the aid of a software authoring application. Topics include XHTML, CSS, JavaScript , server hosting, site publication, site maintenance, and search engine optimization. Policies Faculty and students will be held responsible for understanding and adhering to all policies contained within the following two documents:   University policies: You must be logged into the student website to view this document. Instructor policies: This document is posted in the Course Materials forum. University policies are subject to change. Be sure to read the policies at the beginning of each class. Policies may be slightly different depending on the modality in which you attend class. If you have recently changed modalities, read the policies governing your current class modality. Course Materials Bojack, H. (2010). New perspectives on blended HTML, XHTML, and CSS: Introductory (2nd ed). Mason, OH: Cengage Learning. Gosselin, D. (2011). JavaScript (5th ed.). Mason, OH: Cengage Learning. Software Dreamweaver CS5 provided through Toolwire ® ® All electronic materials are available on the student website. Week One: Introduction to HTML and XHTML Details Objectives 1.1 Identify basic HTML tags and attributes. 1.2 Compare basic XHTML tags and attributes to DHTML and...

Words: 3465 - Pages: 14

Premium Essay

Chapter 9 Pti

...RANGKUMAN PTI Chapter 9 System Development and Project Management : Corporate Responsibility Disusun Oleh: Nadira Ayukalanta 1406535181 Novita Adelia 1406535194 Arsya Rimala Arief 1406570291 Suha Butari 1406535566 Fakultas Ekonomi Universitas Indonesia 2015 THE SYSTEM DEVELOPMENT LIFE CYCLE Terdapat beberapa kata kunci sebelum membahas mengenai pengembangan software, * Legacy system adalah sistem lama yang cepat pendekatannya atau melampui akhir masa pakainya dalam sebuah organisasi. * Conversion adalah proses mengirimkan informasi dari legacy system ke sistem yang baru. * Software customization memodifikasi software untuk memenuhi persyaratan pengguna atau bisnis tertentu. * Off-the-shelf application software mendukung proses bisnis umum dan tidak membutuhkan persyaratan software customization tertentu untuk memenuhi kebutuhan organisasi. * System development life cycle (SDLC) adalah proses keseluruhan dalam pengembangan sistem informasi dari tahapan perencanaan dan analisis hingga implemantasi dan perawatan. * SDLC melalui 7 tahapan dalam prosesnya, yaitu: * Proses SLDC Phase 1: Planning Fase ini membangun rencana tingkat tinggi untuk proyek yang diinginkan dan menentukan tujuan proyek. Planning adalah fase pertama dan terpenting dalam usaha pengembangan sistem. Change agent adalah orang atau kejadian yang bersifat sebagai katalisator untuk mengimplementasikan perubahan besar dari sebuah sistem untuk mengikuti perubahan...

Words: 2969 - Pages: 12

Premium Essay

Scavenger Hunt Questions and Answers

...2012 Catalog Volume 20 Issue 1 March 5, 2012 – December 31, 2012 This Catalog contains information, policies, procedures, regulations and requirements that were correct at the time of publication and are subject to the terms and conditions of the Enrollment Agreement entered into between the Student and ECPI University. In keeping with the educational mission of the University, the information, policies, procedures, regulations and requirements contained herein are continually being reviewed, changed and updated. Consequently, this document cannot be considered binding. Students are responsible for keeping informed of official policies and meeting all relevant requirements. When required changes to the Catalog occur, they will be communicated through catalog inserts and other means until a revised edition of the Catalog is published. The policies in this Catalog have been approved under the authority of the ECPI University Board of Trustees and, therefore, constitute official University policy. Students should become familiar with the policies in this Catalog. These policies outline both student rights and student responsibilities. The University reserves the right and authority at any time to alter any or all of the statements contained herein, to modify the requirements for admission and graduation, to change or discontinue programs of study, to amend any regulation or policy affecting the student body, to increase tuition and fees, to deny admission, to revoke an offer...

Words: 130938 - Pages: 524

Premium Essay

Form

...OFFICIAL CATALOG This Catalog contains information, policies, procedures, regulations and requirements that were correct at the time of publication and are subject to the terms and conditions of the Enrollment Agreement entered into between the Student and ECPI University. In keeping with the educational mission of the University, the information, policies, procedures, regulations and requirements contained herein are continually being reviewed, changed and updated. Consequently, this document cannot be considered binding. Students are responsible for keeping informed of official policies and meeting all relevant requirements. When required changes to the Catalog occur, they will be communicated through catalog inserts and other means until a revised edition of the Catalog is published. The policies in this Catalog have been approved under the authority of the ECPI University Board of Trustees and, therefore, constitute official University policy. Students should become familiar with the policies in this Catalog. These policies outline both student rights and student responsibilities. The University reserves the right and authority at any time to alter any or all of the statements contained herein, to modify the requirements for admission and graduation, to change or discontinue programs of study, to amend any regulation or policy affecting the student body, to increase tuition and fees, to deny admission, to revoke an offer of admission and to dismiss from the...

Words: 149595 - Pages: 599

Premium Essay

Gay and Lesbian Theme

...University of Tennessee, Knoxville Trace: Tennessee Research and Creative Exchange Doctoral Dissertations Graduate School 12-2009 Peeking Out: A Textual Analysis of Heteronormative Images in Prime-Time Television D. Renee Smith University of Tennessee - Knoxville, drsmith@utk.edu Recommended Citation Smith, D. Renee, "Peeking Out: A Textual Analysis of Heteronormative Images in Prime-Time Television. " PhD diss., University of Tennessee, 2009. http://trace.tennessee.edu/utk_graddiss/10 This Dissertation is brought to you for free and open access by the Graduate School at Trace: Tennessee Research and Creative Exchange. It has been accepted for inclusion in Doctoral Dissertations by an authorized administrator of Trace: Tennessee Research and Creative Exchange. For more information, please contact trace@utk.edu. To the Graduate Council: I am submitting herewith a dissertation written by D. Renee Smith entitled "Peeking Out: A Textual Analysis of Heteronormative Images in Prime-Time Television." I have examined the final electronic copy of this dissertation for form and content and recommend that it be accepted in partial fulfillment of the requirements for the degree of Doctor of Philosophy, with a major in Communication and Information. Catherine A. Luther, Major Professor We have read this dissertation and recommend its acceptance: Michelle T. Violanti, Suzanne Kurth, Benjamin J. Bates Accepted for the Council: Carolyn R. Hodges Vice...

Words: 33344 - Pages: 134

Premium Essay

Damsel

...2014-2015 Undergraduate Academic Calendar and Course Catalogue Published June 2014 The information contained within this document was accurate at the time of publication indicated above and is subject to change. Please consult your faculty or the Registrar’s office if you require clarification regarding the contents of this document. Note: Program map information located in the faculty sections of this document are relevant to students beginning their studies in 2014-2015, students commencing their UOIT studies during a different academic year should consult their faculty to ensure they are following the correct program map. i Message from President Tim McTiernan I am delighted to welcome you to the University of Ontario Institute of Technology (UOIT), one of Canada’s most modern and dynamic university communities. We are a university that lives by three words: challenge, innovate and connect. You have chosen a university known for how it helps students meet the challenges of the future. We have created a leading-edge, technology-enriched learning environment. We have invested in state-of-the-art research and teaching facilities. We have developed industry-ready programs that align with the university’s visionary research portfolio. UOIT is known for its innovative approaches to learning. In many cases, our undergraduate and graduate students are working alongside their professors on research projects and gaining valuable hands-on learning, which we believe is integral...

Words: 195394 - Pages: 782

Premium Essay

Mahek

...Chapter 1 SIGMUND FREUD AN INTRODUCTION Sigmund Freud, pioneer of Psychoanalysis, was born on 6th May 1856 in Freiberg to a middle class family. He was born as the eldest child to his father’s second wife. When Freud was four years old, his family shifted and settled in Vienna. Although Freud’s ambition from childhood was a career in law, he decided to enter the field of medicine. In 1873, at the age of seventeen, Freud enrolled in the university as a medical student. During his days in the university, he did his research on the Central Nervous System under the guidance of German physician `Ernst Wilhelm Von Brucke’. Freud received his medical degree in 1881and later in 1883 he began to work in Vienna General Hospital. Freud spent three years working in various departments of the hospital and in 1885 he left his post at the hospital to join the University of Vienna as a lecturer in Neuropathology. Following his appointment as a lecturer, he got the opportunity to work under French neurologist Jean Charcot at Salpetriere, the famous Paris hospital for nervous diseases. So far Freud’s work had been entirely concentrated on physical sciences but Charcot’s work, at that time, concentrated more on hysteria and hypnotism. Freud’s studies under Charcot, which centered largely on hysteria, influenced him greatly in channelising his interests to psychopathology. In 1886, Freud established his private practice in Vienna specializing in nervous diseases...

Words: 155674 - Pages: 623