REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 3-Aug-2010 Edit History  

REBOL 3 Functions: to-rebol-file

to-rebol-file  path

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

Arguments:

path [file! string!]

See also:

to-local-file  

Description

This function provides a standard way to convert local operating system files into REBOL's standard machine independent format.

probe to-rebol-file "c:\temp"
%/c/temp
probe to-rebol-file "e:\program files\rebol"
%/e/program%20files/rebol

Note that the format of the file path depends on your local system. Be careful how you use this function across systems.


  TOC < Back Next > REBOL.com - WIP Wiki Feedback Admin