DBA Scripts Archive for Windows

  


[an error occurred while processing this directive]

No Title

[an error occurred while processing this directive]

by Jeff Hunter, Sr. Database Administrator


This article provides a breif overview of many of the file extensions you will encounter when programming or scripting in the Microsoft Windows operating environment.

Windows Script File Extensions
File Extension Description
.EXE

This is the most common type of program file in the Windows environment. It can contain 16-bit or 32-bit Windows programs or DOS programs.

.COM

This type of file can only contain 16-bit DOS programs.

.BAT

These text files (sometimes called batch files) contain lists of DOS commands. These commands can launch other programs, rename and delete files, and perform other actions that can be used to automate a system. Although batch files can still be used, many administrators and users have moved to a more flexible form of task automation using the Windows Scripting Host.

.CMD

Same as .BAT files, but only run under the Windows NT and Windows 2000 operating environment.

.PIF

A Program Information File. It provides information about a DOS program, such as how much memory it needs, how it accesses the screen, etc. When you create a PIF file, you will associate it with an .EXE, .COM, or .BAT file along with the specific preferences you want to associate with the running of the DOS program. You when open or run the PIF file, and it will execute the associated .EXE, .COM, or .BAT file using your run preferences.

.VBS

A text file containing a program written in the VBScript language. They are 32-bit Windows programs, and can do anything an EXE program can.

.VBE

A text file containing a program written in the JScript language. This is a scripting file (like .VBS, except the program stored in the file is written in the JavaScript or JScript programming language.

.JSE

A JavaScript or JScript (.JS) file that has been encoded to prevent users from seeing its true contents. screnc.exe is a popular utility for encrypting Visual Basic, JavaScript, JScript, and C code into a solid file.

.WSH

A text file that contains settings used when running a particular script. This is similar to a Program Information File (.PIF) used to open or run program executables. A .WSH file, however, is used to set preferences and open or run an associated script file (.VBS, .VBE, .JS or .JSE). The associated script file will be executed with the preferences set in the .WSH file.

.WSF

This is a Windows Script File - a file containing scripts, data and other information in the XML (extensible Markup Language).

.REG

Although not a program file, these files contain information that is automatically copied to your Windows Registry Installation information files.

.INF

These files contain information describing how a program or driver should be installed. This includes lists of files to be copied, and may even contains Windows Registry entries to be added, changed or deleted.

About the Author

Jeffrey Hunter is an Oracle Certified Professional, Java Development Certified Professional, Author, and an Oracle ACE. Jeff currently works as a Senior Database Administrator for The DBA Zone, Inc. located in Pittsburgh, Pennsylvania. His work includes advanced performance tuning, Java and PL/SQL programming, developing high availability solutions, capacity planning, database security, and physical / logical database design in a UNIX / Linux server environment. Jeff's other interests include mathematical encryption theory, tutoring advanced mathematics, programming language processors (compilers and interpreters) in Java and C, LDAP, writing web-based database administration tools, and of course Linux. He has been a Sr. Database Administrator and Software Engineer for over 20 years and maintains his own website site at: http://www.iDevelopment.info. Jeff graduated from Stanislaus State University in Turlock, California, with a Bachelor's degree in Computer Science and Mathematics.



Copyright (c) 1998-2017 Jeffrey M. Hunter. All rights reserved.

All articles, scripts and material located at the Internet address of http://www.idevelopment.info is the copyright of Jeffrey M. Hunter and is protected under copyright laws of the United States. This document may not be hosted on any other site without my express, prior, written permission. Application to host any of the material elsewhere can be made by contacting me at jhunter@idevelopment.info.

I have made every effort and taken great care in making sure that the material included on my web site is technically accurate, but I disclaim any and all responsibility for any loss, damage or destruction of data or any other property which may arise from relying on it. I will in no case be liable for any monetary damages arising from such loss, damage or destruction.

Last modified on
Friday, 17-Sep-2010 18:12:14 EDT
Page Count: 15168