Table of Contents

Paths in the Files tab

The Files tab lists files you copied in Explorer, and text that is nothing but paths:

  • Absolute paths: C:\Users\you\notes.txt, C:/a/path, \\server\share, /var/log/syslog, %APPDATA%\Code.
  • Relative paths: ~/.bashrc, ./build.sh, src\app\main.cs, folder/file.cs.
  • Several: one path per line, as many lines as you like.
  • It stays text: a copied path still pastes as text, and the Text tab still lists it.

It is strict on purpose, so these stay in Text only:

  • slashes in prose (and/or, 24/7);
  • a sentence that starts with a path (C:\Windows is where …);
  • URLs, and a command line (./run.sh src/a.txt);
  • a relative path without a file name at the end (src/app).

A folder name with spaces counts when it looks like a name (C:\Program Files (x86), D:\Games\Call of Duty). Lowercase ones (C:\Users\you\my stuff) count when quoted, as Explorer's Copy as path writes them.