E
E
Evgeny Ivanov2017-08-29 07:48:47
Delphi
Evgeny Ivanov, 2017-08-29 07:48:47

How to fix file path length error in RAD Studio 10.1 Berlin?

Windows 7. x64 Sp1
RAD Studio 10.1 Berlin Starter
Create and save a new project in a folder. Path
D:\Cloud Projects\Personal Folders\My Folders\Synchronized Files and Folders\My New Projects\Delphi Projects\System Performance for Various Periods\New Project\
(166 characters)
Launch. Error - Can not open file "D:\Cloud Projects\Personal Folders\My Folders\Synchronized Files and Folders\My New Projects\Delphi Projects\System Performance for Various Periods\New Project"
Certainly an error - cut the path if so. RAD Studio couldn't even create an exe file in the Win32\Debug folder.
If everything is also done with the short path D:\Projects in the Cloud\1\ then RAD Studio will create an exe file, run it, etc. No problems.
What's interesting - Delphi 7 works with such a long path. And RAD Studio 10.1 is not.
How to fix it? I need to work with RAD Studio and keep everything in the cloud. I need a long way.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Skusnov, 2017-08-30
@AlexSku

Try prefixing \\?\

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question