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

REBOL 3 Functions: to-local-file

to-local-file  path  /full

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

Arguments:

path [file! string!]

Refinements:

/full - Prepends current dir for full path (for relative paths only)

See also:

to-rebol-file  

Description

This function provides a way to convert standard, system independent REBOL file formats into the file format used by the local operating system.

probe to-local-file %/c/temp
"c:\temp"
probe to-local-file what-dir
"C:\REBOL\3.0\docs\scripts\"

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