HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

how to set environment variables for msdos using the path append and tree command

3,530 views October 29, 2016 5:39

Watch on YouTube
ChannelAdventures in Nostalgia

Description from the creator

In this video we discuss how to set environment variables for msdos using the path append and tree command

Time Codes:
dos path command 0:48
dos append command 2:10
dos tree command 3:49

the path environment variable is a list of directories where ms dos will check for a file. the path command in dos allows you set the path variable

Path is used to specify the location where MS-DOS looks when using a command. For example, when using the command "format," if the path is not specified to where the command is you will receive bad command or file name.

The path command is an internal command that is available in all versions of ms dos

Displays or sets a search path for executable files.

PATH [[drive:]path[;...]]
PATH ;


Similar to path in dos , the append command in dos enables a user to open files in the specified directory as if they were in the current directory which is one of the dos environment variables

The dos append command is an external command available in ms dos versions 3.2 and above

Append syntax
APPEND Drive: \Path /X /E Path:on or off

Drive: The drive letter to be searched.
\Path The path to be searched.
/X :on or :off Extends the DOS search path for specified files when executing programs. Processes SEARCH FIRST, FIND FIRST, and EXEC functions. The :ON and :OFF are new to version MS-DOS 5.0.
/Path :on or :off If path is already included for a program file, :on tells program to also search in appended directories. Default= :on. Note: The default value of = :on was added in MS-DOS 5.0 and above.
/E Causes the appended path to be stored in the DOS environment and searched for there.
; Use ";" to separate multiple Drive:\path statements on one line.

The tree command is an external command that is available in all version of ms dos

Tree syntax
TREE [Drive:[[Path] [/F] [/A]

Drive:\Path Drive and directory containing disk for display of directory structure.
/F Displays file names in each directory.
/A ext characters used for linking lines, instead of graphic characters. /a is used with code pages that do not support graphic characters and to send output to printers that do not properly interpret graphic characters.

Welcome to the Adventure! This is Adam. If this is your first time here thank you for stopping by. On this channel we discuss retro tech and legacy software. From how to videos to demonstrations and experimentation. There is a little bit here for all manner or retro enthusiasts.

Channel Page: youtube.com/c/AdventuresinNostalgia

Subscribe:youtube.com/c/AdventuresinNostalgia?sub_confirm…

Here are some suggestions for videos to check out. If you are interested in learning about MS-DOS and how to use it. Check out this playlist

youtube.com/playlist?list=PLgc6pU96eC5zDNcG4hjR…
youtube.com/playlist?list=PLgc6pU96eC5z9yqICCmi…

If you want to learn more about early versions of Windows and what can be done with them. Check out these playlists.

youtube.com/playlist?list=PLgc6pU96eC5xpQFca-B4…
youtube.com/playlist?list=PLgc6pU96eC5ybM0aig5A…

I appreciate you spending time here with me on the channel. If you would like to join me for more on retro tech and legacy software please subscribe and click the bell icon so you don’t miss anything. #msdos #doscommands #msdoscomputer

About this tutorial

Adventures in Nostalgia published this 5:39 video tutorial on October 29, 2016. It has been watched 3,530 times on YouTube.

Duration
5:39
Published
October 29, 2016
Views
3,530
Likes
46

Tags

Share

This tutorial in other languages