home *** CD-ROM | disk | FTP | other *** search
- .pg wi full clr cy
- COMMAND NAME»gray«: »%t« GetDirectory »ye«
-
- /GD {variable}
- /cw
- The »%t«GetDirectory»#« command gets the current directory name and
- stores it in the text variable »cy«{variable}»#«.
-
- .pg
- Here is a command that gets the current directory and stores
- the information in the variable »ye«DEFAULT»#«.
-
- |/GD Default
-
- Now let's display the result:
- | The current directory is »wh«%Default»#«.
-
- And, let's display a directory using »%t«/DIR»#«:
-
- |/DIR %Default
- /ENDEXEC CLEAR
-