EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB237009: “The file/directory name 'XXXX.txt' is invalid’” error message is seen in MicroStrategy System Manager when using the rename file operation


Community Admin

• Strategy


“The file/directory name 'XXXX.txt' is invalid’” error message is seen in MicroStrategy System Manager when using the rename file operation

SUMMARY
This technical note describes an issue where an invalid file name error is encountered in System Manager. It outlines a possible cause and solution for this invalid file name error.
 
DESCRIPTION
In System Manger when using the rename file operation, an invalid message is returned in the process feedback of the console
 

ka04W000000OhBaQAK_0EM4400000029G0.jpeg


"The file/directory name 'XXXXXXX' is invalid" 

 
 
STEPS TO REPRODUCE
Follow the steps below to reproduce this issue in Strategy System Manager

  • Create a folder "SAFE_Provisioning" with a file named "test" inside it.
  • In System Manager, create a new workflow and expand the "System Tools" and the "File Operations" folders.
  • Click and drag the "Rename file" operator onto the untitled window pane.
  • Right click the operator, rename the operator to "rename operator" and also toggle entry process.
  • In the properties pane, type the below information into the appropriate fields
ka04W000000OhBaQAK_0EM4400000029G1.jpeg
  • Execute the workflow and the error message from above will display.

 
CAUSE 
If the "New Name of File or Directory" field, in the properties pane contains a file path with the new file name, then an invalid message will be returned. 
 
 
One possible reason this invalid message occurs is when a file path, with the desired new file name, is entered into the “New Name of File or Directory" field for the rename file operation.
 
ACTION 
There are two ways to resolve this issue.  The first is in the properties pane for the "New Name of File or Directory" field, only the desired file name should be entered. The rename file operation within the workflow will locate the desired file and rename it. Below is an image of the rename file operation successfully renaming the file.

ka04W000000OhBaQAK_0EM4400000029Ft.jpeg

 
If the desired result is to move the file and rename it, then the user needs to include the "Move file" and "Rename file" operations in the workflow.  The screenshot below displays the setup of how to move a file as well as renaming it within the workflow.

ka04W000000OhBaQAK_0EM4400000029Fy.jpeg

Comment

0 comments

Details

Knowledge Article

Published:

June 1, 2017

Last Updated:

June 1, 2017