Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » FileSel&FileList, Path » FEATURE REQUEST: Navigation by desktop shortcuts
Re: FEATURE REQUEST: Navigation by desktop shortcuts [message #52655 is a reply to message #52653] Thu, 07 November 2019 14:33 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
pvictor wrote on Thu, 07 November 2019 11:55
Hello, Mirek.

I researched the problem and found that there are different .lnk files on my desktop.
I attached three of them.
The file СТМ32.lnk points to local directory and it works OK.
Other two files point to network and don't work (they are opened as empty files).
All the .lnk files are shown as files, not as folders (it would be better).

Best regards,
Victor


Well, sending .lnk files does not really help Smile

Can you test this for me:

#include <CtrlLib/CtrlLib.h>

using namespace Upp;

GUI_APP_MAIN
{
	String path = "C:/Users/cxl/Desktop/Files.lnk";
	
	DDUMP(path);
	DDUMP(FileExists(path));
	String t = GetSymLinkPath(path);
	DDUMP(t);
	DDUMP(DirectoryExists(t));
}


Please replace path with other dirs that do now work too and send me the .log file.

As for showing .lnk as files, well, not all .lnk lead to dirs. Unfortunately detecting that .lnk points to dir is potentially time consuming so it has to be done 'later'. BTW it looks like windows shell also shows .lnk of dirs between files, probably for the same reason...

[Updated on: Thu, 07 November 2019 14:35]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Application hangs on renaming directories accidentally
Next Topic: FileSelNative::AllFilesType() doesn't show files without extensions on Linux
Goto Forum:
  


Current Time: Thu Apr 25 05:33:38 CEST 2024

Total time taken to generate the page: 0.02392 seconds