A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://reference.wolfram.com/language/workflow/ConstructAFilePathProgrammatically.html below:

Construct a File Path Programmatically—Wolfram Documentation

WOLFRAM Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

WolframConsulting.com

Construct a File Path Programmatically

Construct relative and absolute file paths.

To a Relative Location...

In many situations, a relative file path is more robust than an absolute one. If a notebook is bundled with data or other files, a relative file path continues to work when the entire bundle is moved to a new location.

Without arguments, NotebookDirectory gives the path to the notebook that contains the evaluation:

Specify a path relative to this notebooks directory with FileNameJoin:

Specify a path relative to this notebooks directorys parent directory using ParentDirectory:

To an Absolute Location...

You can use FileNameJoin and similar path construction functions to compute absolute file paths. Use the output of path expressions to embed absolute file paths in your code:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4