2 ms·
SUBST to this day is how you solve long file name problems. One drive for business can make a very long path if it uses your full business name. Windows has the
by technion 2y ago
SUBST to this day is how you solve long file name problems. One drive for business can make a very long path if it uses your full business name. Windows has the api to let some apps apps save long sob folders, but not to let Explorer or powershell delete those folders.
You go on folder up and use subst to make a drive letter from which you can delete content.
- asveikau 2y agoExplorer (known in MS jargon as "the shell", but I'm avoiding the term because it confuses Unix users) is limited by MAX_PATH characters when it stores absolute paths. Win32 allows you to use paths above MAX_PATH in length when you 1. Use the utf-16 filename apis and 2. prefix your path with \\?\. But the shell doesn't do the latter. It may also use fixed size buffers for paths, that is a common reason for such limitations.