I have found a workaround for the back quote problem that has worked for my purposes by replacing the back quote with a question mark and using the wildcard in further commands:
for %i in (*.*) do gosub process
quit
:process
setdos /x-7
set filename=%@replace[`,?,%i]
setdos /x+7
...
just found a typo in the post:
Example (UNC path length 140 chars, file name length 120 chars):
for %i in ("{long UNC path}\*.*") echo %@attrib["%i"]
output is correct
for %i in ("{long UNC path}\*.*") echo %@filesize["%i"]
result is -1
We are trying to solve a couple of problem within a large file sytem (more than 30 milion files, more than 100,000 directories) using TCC (TCC LE 13.00.21 x64 Windows 7 [Version 6.1.7601]).
Using TCC we are running into two major problems that we cannot solve so far:
1. Errors on long file...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.