relative

./

get relative path for given path, based on current script's location


Parameters

relative path :string

Returns

  • :string

Examples

copy
; we are in folder: /Users/admin/Desktop print relative "test.txt" ; /Users/admin/Desktop/test.txt

Related