Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Output path lenght limited ?

Hakimipous
10 - Fireball

Hello,

 

I'm using a Batch macro to output a bunch of files to report (Using the Render tool)

 

It works well but for some files, that have quite a long name, it returns the error "Error: OutputReports (10): Record #1: Tool #23: Unable to write output file: C:\.... The system cannot find the path specified. (3)"

 

I tried to isolate those files manually and removed some characters in their name and it works 

 

Does that mean that the output path is limited in length somehow?  

And is there any way around it?

 

Thanks!

5 REPLIES 5
MarqueeCrew
20 - Arcturus
20 - Arcturus
What is the length of your field that holds the file name?
Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
MarqueeCrew
20 - Arcturus
20 - Arcturus
255 is the limit for windows for the full path and name.
Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Hakimipous
10 - Fireball

It seems to be the case indeed

 

I had no idea path were limited in length in Windows 

 

Here is a workaround for who might be interested : https://www.howtogeek.com/266621/how-to-make-windows-10-accept-file-paths-over-260-characters/

 

Thanks again @MarqueeCrew !

 

Fz
8 - Asteroid

Hello,

 

I have the same Issue can you please let me know if you arrive to solve it  please ?

 

Thank you 

Hakimipous
10 - Fireball

You can try to force windows to extend the string lenght limit

Labels