No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Problems using GetShortPathName I'm using the UNC prefix for the Path:'[B]\\?\unc\heathers-bill\D$\aFileWithALongName.exe[/B]' GetShortPathName returns 0 & using GetLastError() returns the error 'The filename, directory name, or volume label syntax is incorrect. ' even though Windows Explorer can access the same path Since I can navigate to this path using Windows Explorer, … |
|
Is there any need to escape a Registry Key path when reading it from a file? eg. For the path :[B] HKEY_USERS\.DEFAULT[/B] When reading input from a file , is there a need for escaping the''? If I use [B]" HKEY_USERS\\.DEFAULT"[/B], I get the same string [B]" HKEY_USERS\\.DEFAULT"[/B] back - … |