File Path of a Folder with Space in the Folder Name Error

Tom_21787
Tom_21787 Altair Community Member
edited July 2019 in Community Q&A
Hi Folks, 

Datawatch can't seem to pick up a folder location that has white spaces in its name. 

I've tried enclosing the whole path in double-quotes (""), single-quotes ('') but it doesn't work.  

Sample Path: \path_1\path_2\this path has spaces\file_folder\file_name

Has anyone experienced this before and can share a solution. 

Product: Datawatch Server - PROD
Version: 12.2

Thanks,
Tom
Tagged:

Best Answer

  • CPorthouse
    CPorthouse
    Altair Employee
    edited July 2019 Answer ✓
    Is this for a standard process?  Unfortunately I do not have access to v12.2 anymore but I did verify that in v15.3, Automator does pick up a UNC path with spaces without having to put quotes around it.  I checked for inputs, input distribution, exports, and export distributions.

    One possibilty that automator may not be picking up your path is that the agent service account does not have the appropriate permissions to access that path.  Is the path you are trying to pick up from located on the same server as automator or a different machine?

    Update: FWIW, I looked through our bug database and found a similar issue (VPD/File path: it is impossible to save path with contains space), but this deals with a visual process.  There were no real details in the ticket but it did say it was resolved in v12.5.

    ------------------------------
    Chris Porthouse
    Senior Implementation & Integration Engineer
    Altair
    ------------------------------
    -------------------------------------------
    Original Message:
    Sent: 07-23-2019 08:16 AM
    From: Tom Gormley
    Subject: File Path of a Folder with Space in the Folder Name Error

    Hi Folks,

    Datawatch can't seem to pick up a folder location that has white spaces in its name.

    I've tried enclosing the whole path in double-quotes (""), single-quotes ('') but it doesn't work.

    Sample Path: \path_1\path_2\this path has spaces\file_folder\file_name

    Has anyone experienced this before and can share a solution.

    Product: Datawatch Server - PROD
    Version: 12.2

    Thanks,
    Tom"

Answers

  • Rebecca_Cronin
    Rebecca_Cronin
    Altair Employee
    edited July 2019
    Hi Tom, 

    I noticed you mentioned Server version 12.2.   Altair Knowledge Works- Monarch Server is now on version 15.3 which Support Provides assistance for version 14 and higher.  Will have to reach out to my support colleagues to know if this is corrected/handled in our latest version.  

    Kindly,
    Rebecca

    ------------------------------
    Rebecca Cronin
    Customer Success & Community Manager
    Bedford MA
    (978) 275-8203
    ------------------------------
    -------------------------------------------
    Original Message:
    Sent: 07-23-2019 08:16 AM
    From: Tom Gormley
    Subject: File Path of a Folder with Space in the Folder Name Error

    Hi Folks,

    Datawatch can't seem to pick up a folder location that has white spaces in its name.

    I've tried enclosing the whole path in double-quotes (""), single-quotes ('') but it doesn't work.

    Sample Path: \path_1\path_2\this path has spaces\file_folder\file_name

    Has anyone experienced this before and can share a solution.

    Product: Datawatch Server - PROD
    Version: 12.2

    Thanks,
    Tom"
  • CPorthouse
    CPorthouse
    Altair Employee
    edited July 2019 Answer ✓
    Is this for a standard process?  Unfortunately I do not have access to v12.2 anymore but I did verify that in v15.3, Automator does pick up a UNC path with spaces without having to put quotes around it.  I checked for inputs, input distribution, exports, and export distributions.

    One possibilty that automator may not be picking up your path is that the agent service account does not have the appropriate permissions to access that path.  Is the path you are trying to pick up from located on the same server as automator or a different machine?

    Update: FWIW, I looked through our bug database and found a similar issue (VPD/File path: it is impossible to save path with contains space), but this deals with a visual process.  There were no real details in the ticket but it did say it was resolved in v12.5.

    ------------------------------
    Chris Porthouse
    Senior Implementation & Integration Engineer
    Altair
    ------------------------------
    -------------------------------------------
    Original Message:
    Sent: 07-23-2019 08:16 AM
    From: Tom Gormley
    Subject: File Path of a Folder with Space in the Folder Name Error

    Hi Folks,

    Datawatch can't seem to pick up a folder location that has white spaces in its name.

    I've tried enclosing the whole path in double-quotes (""), single-quotes ('') but it doesn't work.

    Sample Path: \path_1\path_2\this path has spaces\file_folder\file_name

    Has anyone experienced this before and can share a solution.

    Product: Datawatch Server - PROD
    Version: 12.2

    Thanks,
    Tom"