<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.vmssoftware.com/index.php?action=history&amp;feed=atom&amp;title=Default_directory</id>
	<title>Default directory - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.vmssoftware.com/index.php?action=history&amp;feed=atom&amp;title=Default_directory"/>
	<link rel="alternate" type="text/html" href="https://wiki.vmssoftware.com/index.php?title=Default_directory&amp;action=history"/>
	<updated>2026-05-25T20:33:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>https://wiki.vmssoftware.com/index.php?title=Default_directory&amp;diff=141&amp;oldid=prev</id>
		<title>Darya.zelenina: Created page with &quot;A &#039;&#039;&#039;default directory&#039;&#039;&#039; is the working directory of the user, the directory that the system uses in file specifications when no director...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.vmssoftware.com/index.php?title=Default_directory&amp;diff=141&amp;oldid=prev"/>
		<updated>2018-12-20T06:13:58Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;A &amp;#039;&amp;#039;&amp;#039;default directory&amp;#039;&amp;#039;&amp;#039; is the working &lt;a href=&quot;/Directory&quot; title=&quot;Directory&quot;&gt;directory&lt;/a&gt; of the user, the directory that the system uses in &lt;a href=&quot;/File_specification&quot; title=&quot;File specification&quot;&gt;file specifications&lt;/a&gt; when no director...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A &amp;#039;&amp;#039;&amp;#039;default directory&amp;#039;&amp;#039;&amp;#039; is the working [[Directory|directory]] of the user, the directory that the system uses in [[File specification|file specifications]] when no directory is specified. When a user logs in, their default directory is the directory specified in the user&amp;#039;s [[User record|SYSUAF record]]. &lt;br /&gt;
&lt;br /&gt;
=Example=&lt;br /&gt;
Consider the following command:&lt;br /&gt;
 $ TYPE REPORT.LIS;257&lt;br /&gt;
The directory specification for REPORT.LIS;257 is omitted. The system will look for the file in the current default directory:&lt;br /&gt;
 $ SHOW DEFAULT&lt;br /&gt;
   DKA0:[00000]&lt;br /&gt;
If the file is not found in that directory, a RMS-E-FNF error will be displayed:&lt;br /&gt;
 %TYPE-W-SEARCHFAIL, error searching for DKA0:[000000]REPORT.LIS;257&lt;br /&gt;
 -RMS-E-FNF, file not found&lt;br /&gt;
&lt;br /&gt;
=Managing the default directory=&lt;br /&gt;
To display your current default directory, use the SHOW DEFAULT command. To set a different default directory, use the SET DEFAULT command. Note that any directory can be set as default, including nonexistent directories and directories which your process may not access; no error message will be displayed by SET DEFAULT.&lt;br /&gt;
&lt;br /&gt;
=Default device and default directory=&lt;br /&gt;
If only the directory is specified with the SET DEFAULT command, the former device will be used. Sometimes this leads to unexpected errors, especially if [[Rooted logical name|rooted logicals]] are used:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
$ show def&lt;br /&gt;
  SYS$SYSROOT:[SYSMGR]&lt;br /&gt;
  =   SYS$SYSROOT:[SYSMGR]&lt;br /&gt;
  =   SYS$COMMON:[SYSMGR]&lt;br /&gt;
$ set def dka0:&lt;br /&gt;
$ show def&lt;br /&gt;
  DKA0:[SYSMGR]&lt;br /&gt;
%DCL-I-INVDEF, DKA0:[SYSMGR] does not exist&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
To avoid this, use the complete directory specification with the SET DEFAULT command. If you need to access the [[Master file directory|master file directory]] on a volume, specify [000000].&lt;/div&gt;</summary>
		<author><name>Darya.zelenina</name></author>
	</entry>
</feed>