Help for this page

Select Code to Download


  1. or download this
    $ echo foo > a
    
    ...
    $ perl -MCwd=abs_path -E'say abs_path($_) for @ARGV' a b
    /tmp/a
    /tmp/b
    
  2. or download this
    C:\Temp\file
    \\?\C:\Temp\file          # Via UNC path
    ...
    \\10.0.0.6\C$\Temp\file   # Via IP address
    \\localhost\share\file    # Via share
    Z:\file                   # Given subst Z: C:\Temp