crap: a pedestrian absolute folder/file path creator

crap creates absolute paths to folders and/or files

You are now following this Submission

CRAP creates clean absolute paths (including UNCs) for existing
- absolute paths to folders and/or files
- relative paths to folders and/or files
which may include any valid combination of './' and/or '../' syntax.

this shall help to overcome some of the notorious problems with ML’s handling of relative folder/file names.

see
>> help crap
and the accompanying published M-file for information and a few self-explanatory examples.

Cite As

us (2026). crap: a pedestrian absolute folder/file path creator (https://www.mathworks.com/matlabcentral/fileexchange/16538-crap-a-pedestrian-absolute-folder-file-path-creator), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

removed erroneous java (1.6.0) behavior for root folders on winOS' when entered without the drive/volume name; added an option to suppress run-time messages; version tag 29-Jan-2008 19:41:46