Dpath
In computing, HistoryIn DOS the SyntaxDPATH pathname [;pathname] [;pathname] [;pathname]... DPATH DPATH ; pathname : drive letter and/or folder ; : the command 'DPATH ;' will clear the path Without parameters the will display the current list of the directories.
Editing UsageInput redirection:[4] C:\>echo hello>c:\test\in.txt
C:\batch>type c:\test\in.txt
hello
C:\>dir /a /b
C:\>set /p var=<in.txt
The system cannot find the file specified.
C:\>set var
Environment variable var not defined
C:\>dpath c:\test;
C:\>set /p var=<in.txt
C:\>set var
var=hello
With TYPE command:[5] C:\>echo hello>c:\test\in.txt
C:\batch>type c:\test\in.txt
hello
C:\>dir /a /b
C:\>set /p var=<in.txt
The system cannot find the file specified.
C:\>type in.txt
hello
See alsoReferences
Further reading
External linksWikibooks has a book on the topic of: Guide to Windows Commands |