Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • 1
    PowerShell also doesn't include . in the path list for searching executables.
    – Joey
    Commented Sep 8, 2009 at 5:16
  • How to pass '.' as an argument to a command?
    – Wizard
    Commented Nov 10, 2017 at 5:51
  • @DeFu you pass the dot as a dot, for example: ls .
    – hasen
    Commented Nov 10, 2017 at 6:15
  • ls functions same as ls .
    – Wizard
    Commented Nov 10, 2017 at 6:31
  • @DeFu well yes but when you do ls . you are passing '.' as an argument to 'ls'; isn't that what you asked? It functions the same because by default ls lists the current directory, and . is the current directory. But you are passing it to the command, for sure.
    – hasen
    Commented Nov 10, 2017 at 9:20