Skip to content

Conversation

winston-de
Copy link
Contributor

@winston-de winston-de commented Mar 7, 2021

Closes #1751

This change allows Files to be launched from the command line with a relative path, like this:
PS C:\Users\user2> files onedrive/documents/test

The current directory can be opened the same way it can with windows explorer:
PS C:\Users\user2> files .

This change also works with forward slash paths (for convenience when launching from WSL).

@yaira2 yaira2 changed the title Added ability to launch Files with relative path from command line Added ability to launch Files with relative paths from command line Mar 8, 2021
@yaira2 yaira2 requested a review from tsvietOK March 8, 2021 00:27
@yaira2 yaira2 added the ready to merge Pull requests that are approved and ready to merge label Mar 10, 2021
@yaira2 yaira2 merged commit 7e0120a into files-community:main Mar 10, 2021
@winston-de winston-de deleted the LaunchWithRelativePath branch March 10, 2021 04:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge Pull requests that are approved and ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Support for Relative Paths to Command Line Arguments
2 participants