accessing Windows Files ..
-
Hi.. I have created some directories and sub directories using the Unicode function "CreatedirectoryW()" as the full path exceeds 260 chars..and it was succesful from the code point of view.. Though I created these when i decided to access them from windows I couldn't do so..It is throwing an error that "can't access this folder.Path is too long".. If this is the case what is the purpose of Using Unicode function to create directories which exceeds 260 chars limit?? Is there anyway we can access these files??? Thanks Sudhakar
-
Hi.. I have created some directories and sub directories using the Unicode function "CreatedirectoryW()" as the full path exceeds 260 chars..and it was succesful from the code point of view.. Though I created these when i decided to access them from windows I couldn't do so..It is throwing an error that "can't access this folder.Path is too long".. If this is the case what is the purpose of Using Unicode function to create directories which exceeds 260 chars limit?? Is there anyway we can access these files??? Thanks Sudhakar
Sudhakar Pasupunuri wrote: If this is the case what is the purpose of Using Unicode function to create directories which exceeds 260 chars limit?? Is there anyway we can access these files??? You can access paths over 260 characters by adding "\\.\" to the beginning of the filename. Remember to escape the backslash.
Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
-
Sudhakar Pasupunuri wrote: If this is the case what is the purpose of Using Unicode function to create directories which exceeds 260 chars limit?? Is there anyway we can access these files??? You can access paths over 260 characters by adding "\\.\" to the beginning of the filename. Remember to escape the backslash.
Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
Thanks for the valuable info But my question here is : I want to acceess these files from windows explorer and not through code.. The end user want to open the file and want to see the contents using windows explorer..But then windows throws error that "cann't access the folder/file path is too long ".. Plz help me out in this.. Thanks Sudhakar
-
Thanks for the valuable info But my question here is : I want to acceess these files from windows explorer and not through code.. The end user want to open the file and want to see the contents using windows explorer..But then windows throws error that "cann't access the folder/file path is too long ".. Plz help me out in this.. Thanks Sudhakar
Sudhakar Pasupunuri wrote: I want to acceess these files from windows explorer and not through code.. The end user want to open the file and want to see the contents using windows explorer..But then windows throws error that "cann't access the folder/file path is too long ".. Oh, well in that case there's absolutely nothing you can do about it. It is a limitation of Windows explorer. If you want them to be able to access it, you'll have to make the path names shorter.
Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"