Sysadmin Eval Guide
Sysadmin Eval Guide
PTC Inc.
PTC MKS Toolkit: Administrator’s Evaluation Guide
Copyright © 2020 PTC Inc. and/or Its Subsidiary Companies. All Rights
Reserved.
User and training guides and related documentation from PTC Inc. and its subsidiary
companies (collectively "PTC") are subject to the copyright laws of the United States and
other countries and are provided under a license agreement that restricts copying,
disclosure, and use of such documentation. PTC hereby grants to the licensed software
user the right to make copies in printed form of this documentation if provided on
software media, but only for internal/personal use and in accordance with the license
agreement under which the applicable software is licensed. Any copy made shall include
the PTC copyright notice and any other proprietary notice provided by PTC. Training
materials may not be copied without the express written consent of PTC. This
documentation may not be disclosed, transferred, modified, or reduced to any form,
including electronic media, or transmitted or made publicly available by any means
without the prior written consent of PTC and no authorization is granted to make copies
for such purposes. Information described herein is furnished for general information only,
is subject to change without notice, and should not be construed as a warranty or
commitment by PTC. PTC assumes no responsibility or liability for any errors or
inaccuracies that may appear in this document.
The software described in this document is provided under written license agreement,
contains valuable trade secrets and proprietary information, and is protected by the
copyright laws of the United States and other countries. It may not be copied or distributed
in any form or medium, disclosed to third parties, or used in any manner not provided for
in the software licenses agreement except with written prior approval from PTC.
UNAUTHORIZED USE OF SOFTWARE OR ITS DOCUMENTATION CAN RESULT
IN CIVIL DAMAGES AND CRIMINAL PROSECUTION.
PTC regards software piracy as the crime it is, and we view offenders accordingly. We do
not tolerate the piracy of PTC software products, and we pursue (both civilly and
criminally) those who do so using all legal means available, including public and private
surveillance resources. As part of these efforts, PTC uses data monitoring and scouring
technologies to obtain and transmit data on users of illegal copies of our software. This
data collection is not performed on users of legally licensed software from PTC and its
authorized distributors. If you are using an illegal copy of our software and do not consent
to the collection and transmission of such data (including to the United States), cease
using the illegal version, and contact PTC to obtain a legally licensed copy.
Important Copyright, Trademark, Patent, and Licensing Information: See the About
Box, or copyright notice, of your PTC software.
PTC Inc.
12015 Lee Jackson Memorial Hwy,
Suite 150
Fairfax, Virginia 22033
Phone: +1 703 803-3343
Fax: +1 703 803-3344
E-mail: [email protected]
10.3-1000
Evaluation Guide v
vi PTC MKS Toolkit
Introduction
1
This guide will help you evaluate, become familiar with, and choose the
appropriate PTC MKS Toolkit® product to meet your needs. While this
guide is aimed primarily at software and web developers, it also discusses
the general scripting and automation capabilities inherent in all PTC MKS
Toolkit products and applicable to almost any use. There is also a separate
evaluation guide aimed more at system administrators as well as one aimed
at users of the MKS AlertCentre Add-On. These guides are available from
the same source as this evaluation guide.
This evaluation guide will:
Give you an overview of the PTC MKS Toolkit product family.
Help you install the PTC MKS Toolkit evaluation kit.
Walk you through some of the highlights of each of the PTC MKS
Toolkit developer products.
Tell you where to get more information about these products.
Help you get customer support, should you need it.
Product Family There are several products in the PTC MKS Toolkit family aimed at different
kinds of people, performing different kinds of tasks. All products in the PTC
Introduction MKS Toolkit family are unified by our goal of making your use of Windows
more efficient and more enjoyable. Our products fall into two broad
categories – those for system administrators and those for software
developers.
Evaluation Guide 1
Introduction
increase productivity with file and text manipulation tools, batch search and
replace tools, and scheduling interfaces. PTC MKS Toolkit development
products provide solutions in the following areas:
User Compatibility – a variety of command shells and hundreds of
command-line utilities help make your software engineers more
productive on their Windows machines.
Platform Interoperability – a selection of connectivity utilities
provides you with secure interactive access to both your remote
Windows servers and workstations and your legacy systems.
Application Portability – more than 2700 APIs let you port all
manner of legacy applications to Windows, while maintaining a
single source code baseline.
The PTC MKS Toolkit product family is the only solution for developing
and deploying enterprise-critical cross-platform applications. It is also the
leading product for evolving those applications to incorporate the latest
Windows and web technologies, such as COM and Java™. Whether you are
a native Windows or cross-platform software, script, or web developer, the
PTC MKS Toolkit developer products can help you be more efficient in your
job.
PTC MKS Toolkit for Developers – a Windows development
product for software, script, and web developers, who can choose
from command-line or graphical Visual Studio ® build
environments. It is ideal for developing common, cross-platform
scripts for UNIX ® , Linux, and Windows, from a single Windows
desktop. Using the power of more than 400 command-line utilities,
including make, cc, and vi, you can develop native Windows
applications, as well as Perl, KornShell, C shell, bash, Tcl, sed /
awk, and others.
PTC MKS Toolkit for Interoperability – extending PTC MKS
Toolkit for Developers by adding a complete X server for displaying
X Window System-based graphical applications, including OpenGL
and Motif applications, on Windows. A network-capable server can
display a graphical application on your Windows workstation from
any machine on your network.
PTC MKS Toolkit for Professional Developers – an ideal solution
for the migration of non-graphical, character based, UNIX C, C++,
and Fortran applications and utilities to Windows. With over 1500
APIs, you can extend the power of the PTC MKS Toolkit and
migrate custom utilities, non-graphical C, C++, or FORTRAN
applications as well as Perl, KornShell, C shell, bash, Tcl, sed /
awk, and CGI scripts.
Evaluation Guide 3
Introduction
What’s in the This section details the contents of each of the PTC MKS Toolkit products:
PTC MKS PTC MKS Toolkit for System Administrators—a powerful
administration suite that lets you move data and files between machines,
Toolkit remotely administer systems, automate administration tasks, and
Products perform UNIX-compatible backups, across UNIX, Linux, and Windows
platforms. It includes:
Over 350 utilities (full POSIX.2 specification), including remote
utilities (rsh, rshd, rexec, rexecd, rcp, rlogind), secure
utilities (ssh, sshd, scp, sftp, sftp-server), and telnetd for
accessing UNIX systems.
MKS KornShell (ksh), Bourne Again Shell (bash), and MKS C
shell (csh) command environments.
Powerful scripting tools such as Perl, awk, and sed and standard
UNIX workhorse tools such as vi and grep.
SNMP (Simple Network Management Protocol) utilities that let you
control and monitor network devices and their functions.
Utilities for setting up users, groups, and permissions on Windows.
Tape and archive commands (tar, pax, cpio, mt), for creating
UNIX-compatible backups.
Service and registry commands to start and stop local or remote
Windows services and manipulate the Windows registry.
Commands to manage device drivers, Windows domains, and file
associations (dev, domain, ftype).
Evaluation Guide 5
Introduction
Summary Here is a summary of the features available in each of the PTC MKS Toolkit
products to help you choose the right one for your needs:
Evaluation Guide 7
Introduction
Installing the You must have a non-demo PTC MKS Toolkit product installed on your
machine before the PTC MKS Toolkit Resource Kit can be installed.
PTC MKS
Visit http://www.mkssoftware.com/reskit and download and run The
Toolkit PTC MKS Toolkit Resource Kit self-extracting installer.
Resource Kit Follow the on-screen instructions.
PTC MKS There are a few basics you should know before embarking on your
evaluation of PTC MKS Toolkit.
Toolkit Basics
Using PTC MKS Toolkit Features. While PTC MKS Toolkit has
several graphical utilities for doing useful things such as
compressing archives of files, the majority of the utilities in PTC
MKS Toolkit are non-graphical in nature. These non-graphical
utilities are designed to be used from inside of a command
processor, which we call a shell. UNIX users will be familiar with
shells, which are more extensive than, but similar to the Windows
command processor, cmd.exe. You will find the graphical utilities
on and be able to launch them from the Start menu (Start >
Programs > PTC > MKS Toolkit > …). On the other hand, to launch
the non-graphical utilities, you will need to be in a shell or command
processor, preferably one of the PTC MKS Toolkit shells.
Launching a Shell. All versions of PTC MKS Toolkit come with a
KornShell (ksh), Bourne Again Shell (bash) and a C shell (csh).
The easiest way to launch these is from the Start menu, Start >
Evaluation Guide 1
Installing the PTC MKS Toolkit Evaluation Package
Programs > PTC > MKS Toolkit > Korn Shell, Start > Programs >
PTC > MKS Toolkit > C Shell, or Start > Programs > PTC > MKS
Toolkit > Bash Shell. There are some basic differences in these
shells, but they are conceptually very similar. If you have no
experience with shells or have no preference, you should probably
start with the KornShell. This evaluation guide assumes that you are
running the KornShell. The PTC MKS Toolkit products contain
extensive documentation on these shells that you can read at your
leisure to understand the differences in shells.
Getting Help. There are two main ways to get help in PTC MKS
Toolkit, the Windows way and the UNIX way, whichever you prefer.
Traditionally, in UNIX, in a shell you type man and then the name of
a utility, and this displays what is known as the manual page for that
utility. Try typing man sh, for example, for help on the KornShell.
On Windows, however, help tends to be more graphical in nature.
You will find graphical documentation for the PTC MKS Toolkit
utilities, plus additional tutorials and other information, on the PTC
MKS Toolkit entry in the Start menu, under Documentation (Start >
Programs > PTC > MKS Toolkit > Documentation). There, you will
find the PTC MKS Toolkit Utilities Reference, which contains the
same information as the manual pages, only in a graphical format.
Launching a Script. Launching files on Windows is different from
launching files on UNIX. Windows identifies how to launch any file
by looking up the program to run by the file extension (the three
letter suffix after the dot in the file name, such as .exe or .doc).
Files on UNIX often have no extensions, while extensions are fairly
critical on Windows. Windows maintains a list of registered file
associations that allows a given file extension to be associated with a
given file type which in turn is associated with a given application.
This allows you to launch an application and load the specified file
by simply clicking on the file name in the Windows Explorer or by
simply typing the file name on the command line of a shell or
command interpreter. For example, if you have Microsoft Word
installed on your system, typing file.doc on the command line
launches Microsoft Word with file.doc open. When you install a
member of the PTC MKS Toolkit product family, you have the
option of registering several PTC MKS Toolkit-specific file
associations. The following table shows the registered file
extensions, their associated file types, and the PTC MKS Toolkit
utilities used to run files with those extensions:
Evaluation Guide 3
Installing the PTC MKS Toolkit Evaluation Package
PTC has two products with features specifically for system administrators,
PTC MKS Toolkit for System Administrators and MKS AlertCentre (an
add-on for PTC MKS Toolkit).
The MKS AlertCentre add-on has a separate Evaluation Guide which you
can see online at http://www.mkssoftware.com/docs. The PTC MKS Toolkit
for System Administrators is a great compliment to the MKS AlertCentre
add-on as it provides the tools necessary to perform remote administration
on servers that are reporting error conditions. Putting a copy of PTC MKS
Toolkit for System Administrators on each of your servers will give you the
ability to connect to these machines from anywhere on your network or via a
dialup line to perform any necessary administration or repair tasks.
Evaluating PTC Currently many thousands of system administrators use PTC MKS Toolkit
for daily system administration tasks, and each of these administrators finds
MKS Toolkit for a different utility in the product depending on whether his or her background
System is from Windows or from UNIX. Accordingly, the following two sections
discuss PTC MKS Toolkit for System Administrators from these two
Administrators differing perspectives. We recommend that all system administrators read
both sections, because the demonstrations in both sections are useful,
regardless of background.
PTC MKS Toolkit for System Administrators is a full UNIX and Windows
interoperability suite, allowing remote access, remote system administration,
interconnectivity, file sharing, and full automation and scripting capabilities.
PTC MKS Toolkit for System Administrators includes:
A single-connection telnet server, allowing remote access to the
Windows machine.
Evaluation Guide 5
Evaluating the PTC MKS Toolkit System Administrator Products
Secure Shell
Secure shell client and server can be used in place of rsh, ftp, rcp, telnet
and rlogin and provide encrypted connections between machines that are
both secure and based on industry standards for maximum interoperability.
To launch a secure shell client to connect to your own machine
1. Invoke Start > Programs > PTC > MKS Toolkit > Evaluation Guide >
Secure Shell
2. You are prompted for your account password account. Please type the
correct password and press ENTER.
3. You should see a standard shell prompt.
4. Type eventlog –r or vi or some other PTC MKS Toolkit command.
The secure shell server runs an MKS KornShell by default (although you can
easily run a Windows Command Interpreter if you wish) and all your
familiar commands are right at your fingertip. for example ls, dir, cp, and
copy.
The X11 protocol can be tunneled through the secure shell connection. This
is not tremendously useful for the localhost connection established here, but
it works to any Secure Shell server that enables X11 tunneling.
Visual SFTP
Visual SFTP is a powerful Windows Explorer extension that lets you easily
drag and drop files through a secure connection just as easily as you would
on your local network. Seamlessly integrated with Windows Explorer,
Visual SFTP lets you open one or multiple connections and transfer or
manipulate files found on remote Windows, UNIX/Linux, or any other
system that supports the Secure Shell protocol.
Evaluation Guide 7
Evaluating the PTC MKS Toolkit System Administrator Products
Remote Utilities
PTC MKS Toolkit comes with remote utilities (rsh, rexec, rlogin, rcp)
for accessing other UNIX and Windows machines. It also includes the
server-side components for these utilities (rshd, rexecd, rlogind) so that
your Windows machine can accept remote requests.
The rsh and rexec utilities execute commands on a remote machine. The
rexec utility is used to execute a single command, while rsh creates a shell
on the remote machine and executes a command in that shell. These utilities
have corresponding Windows services (rshd and rexecd) that let your
Windows machine respond to rsh and rexec requests from other machines.
PTC MKS Toolkit provides a configuration utility for setting up your
Windows machine such that rexecd, rlogind, and rshd will accept
requests. This is available in both command line (rconfig) and graphical
versions (grconfig). If you type grconfig at a KornShell prompt, you
will see a dialog similar to the following:
Evaluation Guide 9
Evaluating the PTC MKS Toolkit System Administrator Products
correctly, use the rlogin command followed by the name of the machine
you want to log in to: rlogin solaris2. Using rlogin, you can establish
a remote session on any machine that is running an rlogin daemon. Most
UNIX machines will run rlogind by default.
These four utilities and their corresponding services form the basis for a very simple-to-use, yet amazingly flexible interoperability capability.
KEY POINTS The ultimate flexibility to manage your mixed UNIX and Win-
dows shop
1. Interoperate between Windows machines, between UNIX and
Windows, or Windows and UNIX using ssh (secure shell), telnet,
rsh, and rlogin.
2. Transfer files between UNIX and Windows with sftp, scp, rcp, tar,
cpio, dd, and pax.
3. Run commands on any UNIX or Windows machines on your network
with ssh, rexec, and rsh.
4. Log in remotely to any UNIX or Windows machine in your network to
administer it from your desktop, using ssh, rlogin, or telnet.
Evaluation Guide 11
Evaluating the PTC MKS Toolkit System Administrator Products
Managing Desktops
In writing scripts with PTC MKS Toolkit for System Administrators to
create a common desktop for your 3000 users, you might want to take
advantage of the shortcut utility to create that common desktop. The
example at Start > Programs > PTC > MKS Toolkit > Evaluation Guide >
For Systems Administrators > Desktop Shortcuts shows the power of PTC
MKS Toolkit for creating desktop shortcuts that apply to a single user, a
group of users, or all users.
This script uses basic KornShell scripting (for string manipulation and basic
testing), standard UNIX utilities such as mkdir, rmdir and the value-added
utility registry to query file locations, as well as shortcut to create the
actual menu or desktop shortcut. The basic UNIX utility set has been
extended, in a familiar way, to let you perform operations unique to
Windows.
Evaluation Guide 13
Evaluating the PTC MKS Toolkit System Administrator Products
If you are curious, gdf is a script (gdf.ksh) that is built using our general-
purpose dlg dialog building utility. What kind of other useful utilities can
you build with dlg?
Process Status
There are many ways to see which processes are running on your machine.
Our ps utility and its graphical counterpart gps have one very interesting
feature that lets you differentiate between several programs of the same
name—they show the parameters that were passed to each program. How
many times have you been frustrated by the Task Manager’s lack of ability to
distinguish between two instances of a single process?
Evaluation Guide 15
Evaluating the PTC MKS Toolkit System Administrator Products
See how we have solved this problem, by typing gps at a KornShell prompt:
This is yet another useful utility built on our general-purpose dlg dialog
building utility. It is script based—so you can look at it to get ideas for your
own custom scripts.
Registry Manipulation
You have 3000 desktops to configure and they all require changes to the
registry. You know how to do it but it is going to be tedious. To automate
these changes using the limited, native Windows scripting capabilities is not
appealing. PTC MKS Toolkit for System Administrators provides a very
powerful scripting language that can do the job. Moreover, our scripting
language is standardized worldwide across many UNIX platforms including
Linux, so that (such as user profile files like ntuser.dat) what you learn
can help you ease your transition to UNIX system administration, if you
choose.
As an example of the power of this scripting, this demonstration shows
registry manipulation (including loading a hive). Once the script is executed,
your shells (*sh) and command prompts (cmd) on Windows will all have tab
completion enabled. That is, when you type the beginning of a command,
you can then use the tab key to cycle through all the possible matches for
that command.
Event logging
Windows event logs can easily be displayed or manipulated with PTC MKS
Toolkit Perl.
The demonstration is at Start > Programs > PTC > MKS Toolkit >
Evaluation Guide > For System Administrators > Windows Administrators
> Event logging.
The script admin8.ksh makes use of PTC MKS Toolkit dlg and SNMP
commands to send an snmptrap to the local machine where the snmptrapd
will log a message in the local event log. An event log watching Perl script
then filters out SNMP trap messages from the event log and displays them in
a window. This Perl script also makes use of a custom COM interface which
blocks for changes to one of the local event log.
Evaluation Guide 17
Evaluating the PTC MKS Toolkit System Administrator Products
PTC MKS Toolkit for System Administrators and all higher products
contain the SNMPv2 snmpbulk, snmpget, snmpgetnext,
snmpnetstat, snmpset, snmpstatus, snmptest, snmptrap,
snmptrapd, and snmpwalk utilities. These are system administration
utilities that let you control and monitor network devices and their functions.
PTC MKS Toolkit also provides a command line eventlog utility to print
(filtering records and specifying fields) and write records from the various
Windows event logs.
Evaluation Guide 19
Evaluating the PTC MKS Toolkit System Administrator Products
Editing
The vi editor is the editor that is common to every version of UNIX. PTC
MKS Toolkit for System Administrators includes two versions of this editor
for your convenience. The first is a standard UNIX version, which you can
exercise by typing vi from any command or shell prompt, or by selecting
Start > Programs > PTC > MKS Toolkit > Evaluation Guide > Vi.
Try this: vi is integrated with the Windows clipboard making it easy to cut
and paste between Windows and vi. At the vi command prompt, type set
clipboardbuffer=x, setting the Windows clipboard to buffer x. (You may
want to add this to your profile file ex.rc in your home directory, $HOME.)
Yank a couple of lines into the clipboard, “x2Y. Move your cursor into a
Windows application, such as Notepad or Word, and use control-V to paste
this text. Now, highlight some text in the Windows application and copy it
using control-C. Move into vi and paste it: “xp.
The second version of vi in PTC MKS Toolkit for Developers is a graphical
version, vi for Windows, that responds to the standard vi commands, but
supports standard Windows features such as font control and printer
integration – the best of both worlds. You can try it by typing viw from any
command or shell prompt, or by selecting Start > Programs > PTC > MKS
Toolkit > Evaluation Guide > Vi for Windows.
Try this: UNIX and Windows use different line termination characters:
UNIX uses a linefeed, while Windows uses the combination of a carriage
control and a linefeed. You can control the style to use by selecting Options
> PC Specific from the viw menus. While you’re at it, go to a command or
shell prompt and type man flip to find out how to automatically convert
whole files.
Familiar Tools
To assure yourself that PTC MKS Toolkit for System Administrators
contains the familiar tools that you are used to, try the demonstration at Start
> Programs > PTC > MKS Toolkit > Evaluation Guide > For System
Administrators > UNIX Administrators on Windows > Familiar Tools. This
is a script that exercises df, du, and ls, with output resembling the
following:
Evaluation Guide 21
Evaluating the PTC MKS Toolkit System Administrator Products
First, you must install the Local Security Authority (LSA) helper DLL, by
selecting Start > Programs > PTC > MKS Toolkit > Evaluation Guide > For
System Administrators > UNIX Administrators on Windows > Password
Synchronization Installation.
Next, you must reboot.
Then, you are ready to run the demonstration at Start > Programs > PTC >
MKS Toolkit > Evaluation Guide > For System Administrators > UNIX
Administrators on Windows > UNIX Password Synchronization. This script
creates a file called passwd.ntsync containing DES-encrypted passwords
for the users of the Windows machine. Copy this file to your UNIX server
(or extract only certain users) and merge it with your existing password file.
You can use the rcp command to copy the file, if you like.
This script, which demonstrates the power of PTC MKS Toolkit for System
Administrators, extracts information stored in the registry (using the LSA
helper DLL) and merges it with information derived from the userinfo and
groupinfo utilities to produce an /etc/passwd-format file.
System Information
System information is available on Windows, but getting at it is not always
an easy or straightforward process. To find everything you need, you have to
know a lot about Windows and ultimately you need to dig into the registry
and that means you have to understand the registry layout, no mean feat.
This demonstration script shows you the power of scripting with PTC MKS
Toolkit for System Administrators, by finding all the system information that
you need to know, and presenting it graphically using dlg, our custom,
scriptable dialog building utility.
Run the demonstration script at Start > Programs > PTC > MKS Toolkit >
Evaluation Guide > For System Administrators > System Information. This
demonstration script exercises the sysinf PTC MKS Toolkit utility, which
keeps you from having to know where every little piece of system
information is stored.
Evaluation Guide 23
Evaluating the PTC MKS Toolkit System Administrator Products
the POSIX utility that handles both tar and cpio formats and it too
recognizes the tape drives. We’ve provided it to you both with (vpax) and
without (pax) a GUI.
To see vpax in action, select Start > Programs > PTC > MKS Toolkit >
Evaluation Guide > For System Administrators > UNIX Administrators on
Windows > Visual Pax.
The tar, cpio, pax, and vpax (Visual Pax) utilities can store and retrieve
Windows security information, while remaining compatible with UNIX
archives. Additionally, in order to increase performance, when dealing with
standard archives (no Windows security information is being stored or
retrieved), these utilities no do not attempt to access security information.
PTC MKS Toolkit for System Administrators and all higher products
include the bzip2, gzip/gunzip and zip/unzip compression utilities.
These utilities augment the existing suite of compression utilities: mkszip,
uncompress, pack, unpack, zcat, and the -z option of cpio, pax,
and tar.
Additional PTC There are several other sources for additional information about our PTC
MKS Toolkit products. We have general product information, including
MKS Toolkit technical specifications, detailed utility listings, and datasheets at:
Resources PTC MKS Toolkit Product Information: http://www.mkssoftware.com/
products
We offer a resource kit including example scripts, additional utilities, more
tutorials, and a wide variety of other useful information at:
PTC MKS Toolkit Resource Kit Page: http://www.mkssoftware.com/
reskit
Through the years, we have accumulated a lot of technical details about the
NuTCRACKER Platform products and have put this information in a
searchable database at:
PTC MKS Toolkit Knowledge Base: http://www.mkssoftware.com/
support/kb
Evaluation Guide 25
Available Resources
Our customers commonly ask certain questions. These questions and their
answers are in our Frequently Asked Questions pages at:
PTC MKS Toolkit FAQs: http://www.mkssoftware.com/support/faqs
Features The PTC MKS Toolkit product family is the most comprehensive suite of
products for UNIX-Windows interoperability, UNIX-Windows application
Summary migration, cross-platform development and system administration, and
advanced Windows scripting. Today’s power users, developers, and system
administrators require powerful utilities that are rock-solid in performance
and reliability. PTC MKS Toolkit is the choice of Global 2000 companies
worldwide for the management and automation of mission-critical tasks.
Used by over 450,000 power users, developers, and system administrators
worldwide, PTC MKS Toolkit is the premium brand for addressing your
organizations’ critical Windows and UNIX/Linux interoperability needs.
The primary features of the products are:
Advanced Scripting for Windows. With Korn, Bourne Again and
C shells, sed, awk, Perl, dlg, filebox, and over 400 additional utilities,
there is no finer scripting environment on Windows.
Comprehensive Command Line and Build Environments. Power
users, developers, and system administrators will love the flexibility
of our command line environments, for batch processing, for
automation of recurring tasks, for remote access, and for general
scripting. With rock-solid, proven utilities such as vi, grep, find,
make, cc, and ld, our command-line and build environments are
unsurpassed.
Scriptable System Administration Utilities. With extensive
system administration utilities for managing users, groups, desktops,
shortcuts, and permissions; for tape handling, file archiving, and
UNIX-compatible backups; for registry manipulation; for service,
device driver, domain, and file association management; for queuing
actions and scheduling tasks; and for process and system
information queries; there are no better system administration
products than those in PTC MKS Toolkit.
Scriptable Web Development Utilities. Web developers and
maintainers will love the ability to create custom utilities and scripts
to manage their sites with our utilities for manipulating HTML, for
pushing and pulling content to and from local or remote servers, for
Perl scripting in the Microsoft Active Scripting environment, and
CGI programming in Perl and mkscgi.
Evaluation Guide 27
Available Resources
Command Definition
64decode Decode a file using base64.
64encode Encode a file using base64.
appc Arbitrary precision programmable calculator.
assoc Set file extension association in the Windows registry.
autorun Specify programs to run on bootup or log in under Win32.
awkc Compile awk programs into executables.
bindres Encode resources and insert them into a specified text file; used with dlg.
c Produce multiple-column output.
chacl Change the access control list (ACL) on Windows objects.
chgrp Change group attribute of a file on Windows.
color Change foreground and background colors of the shell window
db Send SQL queries to a database via ODBC.
dde Perform DDE client operations.
desktop Simple command-line desktop manipulation.
dev Display device driver information.
dlg Load and manage Windows dialog boxes; create graphical shell scripts.
domain Display Windows domain information.
filebox Display Windows Open or Save dialog box.
filever Print file version information.
ftype Set file type association within the Windows registry.
gdf Graphically display the amount of free space remaining on a disk (a dlg example).
gdir Graphically display and manage the current directory stack.
ghist Display and manage command history from a scrollable dialog box.
gps Display and manage process status in a scrollable dialog box (a dlg example).
groupinfo Manipulate Windows group information.
gset Graphically define shell settings.
gvar View or define variables, parameters, functions, and aliases.
halt Shut down the system.
hist Display, fix, edit and re-enter previous command.
htdiff Compare two HTML files and display differences.
htsplit Split an HTML file into tokens.
htstrip Remove HTML tokens from a file or stream.
imapmail Manipulate e-mail messages on an IMAP mail server.
lsacl List access control lists for Windows objects.
manstrip Strip the unprintable sequences out of online man pages.
mapimail Send mail on a Win32 system using the MSMapi32 ActiveX COM object.
member Manipulate Windows group membership information.
mkscgi Run scripts on HTTP server through the Common Gateway Interface.
mksdiag Check PTC MKS Toolkit configuration.
mksinfo Display PTC MKS Toolkit serial number and other information.
mkszip Compress/decompress a file.
msgbox Display a Windows message box.
pop3mail Manipulate e-mail messages on a POP3 mail server.
registry Display and modify the Windows registry.
security Find security related information.
sendevent Send mouse or keyboard events.
service Manage Windows services.
shortcut Create Windows shortcuts from the command line.
sid Display user's security identifier.
start Start a new program in another window.
strerror Display a system error message.
sysinf Display technical system information.
tksched Launch commands at predefined times.
ugrep Search for regular expressions from a dialog box (dlg example).
uncname Return the UNC name for a specified file.
url Parse Uniform Resource Locators (URLs).
userinfo Manage Windows user information.
VDiff Compare two text files and show / merge differences.
viw Display-oriented interactive text editor for Windows.
VPax (Visual Pax) graphical interface to pax, cpio, and tar archives.
wcopy Copy from a specified file or standard input to the Windows clipboard.
web Transfer files to or from a Web server.
winctrl Manipulate windows and dialog boxes.
windir Display the name of the Windows directory.
wpaste Print Windows clipboard text to standard output or a specified file.
ws Display the name of the current workstation or desktop.
wstart Start a new program in another window.
Evaluation Guide 29
Available Resources