![]() ![]() ![]() The temporary drive letter saved up to 257 characters from the fully qualified path, thus almost doubling my effective maximum path length! Good enough for my usecase!Īfter I was done working with a file or directory path I disconnected the temporary drive again with something like this. Whenever I found a path that was too long, I took the first 260/248 characters of the fully qualified path, then checked for the last index of a backslash and wrote the left and the right part of the path separated by that backslash to variables.Īgainst recommendation I mapped that left part of the path to a temporary network drive letter like this! Combined with the right part of the path I was able to fabricate a much shorter path to the desired file or directory. Long path tool code#Unfortunately I don’t have access to the code anymore, but here is what I recall: After IT couldn’t help me with the LongPathEnabled thing, I found a workaround that felt like I tricked the system Long path tool how to#I also stumbled upon the ExtendedFileInfo library that looks like it could help, but sadly I am clueless how to implement this into my UiPath flow.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |