Thread: Distinguish symbolic link from file (stat function)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    13
    Quote Originally Posted by mario++ View Post
    Yes, I'm refferring to Windows Shortcut
    What I mean: Is it possible to distinguish a Windows Shortcut (.lnk) from a file?

  2. #2
    Registered User
    Join Date
    Jul 2008
    Posts
    38
    Quote Originally Posted by mario++ View Post
    What I mean: Is it possible to distinguish a Windows Shortcut (.lnk) from a file?
    The Windows Shortcut is nothing more than a glorified ini file (last time i checked). It has no special meaning whatsoever on the filesystem unlike the *nix symoblic links.

    Since a Windows Shortcut is recognizable by its extension, you answered your own question.
    Last edited by Florian; 05-07-2010 at 04:29 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 05-13-2011, 08:28 AM
  2. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  3. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  4. Replies: 28
    Last Post: 07-16-2006, 11:35 PM
  5. Possible circular definition with singleton objects
    By techrolla in forum C++ Programming
    Replies: 3
    Last Post: 12-26-2004, 10:46 AM