flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
mindcooler 15 Jun 2010, 04:04
_________________ This is a block of text that can be added to posts you make. |
|||
![]() |
|
mindcooler 15 Jun 2010, 04:10
To not really answer your question: Whenever I work with files and directories, I use FindFirstFile and FindNextFile, and get that information from them.
To answer your question: GetFileAttributes and the attribute FILE_ATTRIBUTE_DIRECTORY 16 0x0010 |
|||
![]() |
|
Tyler 15 Jun 2010, 04:12
Umm... Nah. I'd prefer to just make a simple app that will accomplish the same task without wasting HDD space.
Thanks for the suggestion though. After I realize I suck and give up coding my own, I'll use that one. Edit: Thanks, that's exactly the thing I was looking for. |
|||
![]() |
|
baldr 15 Jun 2010, 10:42
Tyler,
Never ever let someone or something discourage you from trying to accomplish some task. Even if you don't complete it, you often learn something useful by the way (NTFS reparse point concept, for example). |
|||
![]() |
|
Tyler 15 Jun 2010, 20:15
The thing about giving up was a joke, and I think we all already know I suck
![]() ![]() |
|||
![]() |
|
Tyler 16 Jun 2010, 03:07
Wow. What a waste of time. When I saw "symbolic link," I thought Linux-style seamless symbolic links. Turns out, the "CreateSymbolicLink" function just creates a .lnk file.
|
|||
![]() |
|
score_under 20 Jun 2010, 19:32
1. Create a directory.
2. Open it with CreateFile. 3. http://msdn.microsoft.com/en-us/library/aa364595%28VS.85%29.aspx And that's how you symlink. Only works on NTFS, so check for that first too. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.