Login | |
|
 |
RE: Long file path problem - 10/9/2008 5:30:13 PM
|
|
 |
|
| |
TomRiddle
Posts: 188
Score: 4
Joined: 2/7/2008
Status: offline
|
Hi DM_4ever, Thanks for your tip. I have now started to rewrite the script using a RoboCopy command to generate a file containing the complete directory listing of all files on the share. Then it will be a simple thing script a report of all paths in that file that are longer than 256 char. I tried the technique in the FAQ but just could not get it to work, if I manually type a path in with a ' in it, it works with that technique. But I punch in a path as a variable it fell over. So did not get past that. I imagine WMI would suffer the same ANSI 256 char MAX_PATH limitation. What I need is unicode version of these type of functions but could not find examples. RoboCopy is unicode compatible. I will post the script that uses RoboCopy later and another one that uses just pure vbscript if someone can come up with unicode compatible code sample. _________________________________________ Avada Kedavra
|
|
| |
|
|
|
|
|