Skip to content
angerangel edited this page Mar 20, 2013 · 1 revision

USAGE

   TO-REBOL-FILE path

DESCRIPTION

Converts a local system file path to a REBOL file path.

TO-REBOL-FILE is a native value.

ARGUMENTS

  • path (file! string!)

#SOURCE

to-rebol-file: make native! [  [
    {Converts a local system file path to a REBOL file path.}
    path [file! string!]
] ]

Example

It's very useful to change working directory, look:

>> change-dir to-rebol-file "C:\Documents and Settings\max\Desktop\rebf"
>> pwd
== %/C/Documents%20and%20Settings/max/Desktop/rebf/
Clone this wiki locally