Skip to content

Instantly share code, notes, and snippets.

@clr2of8
Last active July 11, 2020 10:44
Show Gist options
  • Save clr2of8/15a594b1ddae50e67ef46eb355b75e51 to your computer and use it in GitHub Desktop.
Save clr2of8/15a594b1ddae50e67ef46eb355b75e51 to your computer and use it in GitHub Desktop.
REM Relative to root of the current drive (begins with a single component separator \ )
\Windows\System32\notepad.exe
REM Relative to current directory of the specified drive (begins with a drive letter, a volume separator, and no component separator)
c:Windows\System32\notepad.exe REM cwd must be c:\
c:..\..\..\..\Windows\System32\notepad.exe REM cwd must be less that 4 directories deep
REM Relative to current directory (begins with anything else)
non-existant-dir?-no-problem\..\..\..\..\Windows\System32\notepad.exe
extra-slashes-and-dots-are-fine.........\\\\\\\\.\\\\..\\\\..\\..\..\\Windows\\\System32\notepad.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment