Hub
Pricing About
ComponentComponent

Open File or Folder

takbb profile image
Draft Latest edits on 
Jul 16, 2021 10:13 AM
Drag & drop
Like
Use or download
If executed, attempts to open the current Workflow folder, Workflow data folder, or the specified file/folder in Explorer (or equivalent) or the associated application. Only tested with Windows 10 but it may work with other OS, as it uses Java.awt.desktop and does not directly call Windows Explorer or other operating system specific functions. The location specified should be a valid absolute file/folder path if the location type is specified as "Absolute". Note that the path handling is performed outside of the KNIME software and so it is not possible to use knime:// protocol paths here. If the location type is either Workflow Folder, or Workflow Data Folder, then the location should point to a valid subfolder or file relative to the specified Workflow Folder/Data Folder. 12 May 2021 @takbb Brian Bates Documentation updated 16/7/2021

Component details

  • Physically open location or execute file

    If selected/checked it will attempt to open the workflow folder when executed. If the location represents a file, it will cause that file to be opened in its associated external application, or executed if it is an executable file (use with caution for executables!) If unchecked, it will take no action other than to create flow variables (and create folder if that option has been chosen) Disabling allows you to leave it on the workflow and not have it open the folder/execute file every time the node is executed.
  • Location/File to open

    A string representing the folder (or a file) to be opened on execution. Leave blank to open the workflow folder
  • Location type

    Enter the type of location, to indicate if this represents a folder in the current workflow or an Absolute path
  • Create Workflow Data Folder ( if it doesn't exist)

    Creates workflow data folder if it does not currently exist
  • Create flow variables using base-name

    Creates flow variables using the given variable base_name. <variable_name>_loc - just the local filename (with no path information) <variable_name>_path - a Path variable to file with path location <variable_name>- a String variable to the file with path location <variable_name>_url - a URL variable to the file with path location If the value is blank, the default name of loc:xxx: will be used

Used extensions & nodes

Created with KNIME Analytics Platform version 4.3.4
  • Go to item
    KNIME Base nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.3.4

    knime
  • Go to item
    KNIME JavasnippetTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.3.0

    knime
  • Go to item
    KNIME Quick FormsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.3.3

    knime

This component does not have nodes, extensions, nested components and related workflows

Legal

By using or downloading the component, you agree to our terms and conditions.

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits