Compact paths?
-
Hello! I'm looking for a function which I can give a file path and a number of pixels. The function should remove enough characters of the path and replace them by "..." to fit into the given amount of pixels. The
PathCompactPath
Win32 API function does this, but is there also a managed equivalent in the .NET framework? Thanks and best regards Dominik
_outp(0x64, 0xAD);
and__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do?? ;) (doesn't work on NT) -
Hello! I'm looking for a function which I can give a file path and a number of pixels. The function should remove enough characters of the path and replace them by "..." to fit into the given amount of pixels. The
PathCompactPath
Win32 API function does this, but is there also a managed equivalent in the .NET framework? Thanks and best regards Dominik
_outp(0x64, 0xAD);
and__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do?? ;) (doesn't work on NT)