Working with File Names and Paths

WinSCP offers set of features to work with names of files and directory paths.


File Name

You can copy names of files selected in file panel to clipboard, either just names or full paths. Go to File(s) > File Names > Copy to Clipboard or Copy to Clipboard (Include Paths). The command is also available from file context menu.


File URL

To open Generate File URL dialog for selected files go to File(s) > File Names > Generate File URL.

See example of custom command that puts HTTP (web page) URL of file to clipboard.

Current Working Directory

To copy path to current working directory to clipboard, go to Commands > Copy Path to Clipboard in Explorer interface or Local (Remote) > Copy Path to Clipboard in Commander interface.

You can also open directory whose path is stored in clipboard.

Command Line

You can insert names of files selected in active file panel to command line in Commander interface. Use command Files > File Names > Insert to Command Line (or press Ctrl+Enter).

Custom Commands

More advanced way how to execute remote command that works with names of files selected in file panel is custom commands feature.

  filenames.txt · Last modified: by martin

Search Documentation

This page


About donations

$9   $19   $49   $99

About donations



Site design by Black Gate