flat assembler
Message board for the users of flat assembler.

Index > Main > Does fasm look up for files from PATH variable?

Author
Thread Post new topic Reply to topic
Bob++



Joined: 12 Feb 2013
Posts: 92
Bob++ 24 Oct 2014, 01:24
If I do an include "win64ax.inc" can I just put say, C:\Program Files (x86)\fasm\INCLUDE in Windows' PATH variable and the fasm look up for it in the directories in the PATH or should I put the full directory path?
Post 24 Oct 2014, 01:24
View user's profile Send private message Reply with quote
TmX



Joined: 02 Mar 2006
Posts: 841
Location: Jakarta, Indonesia
TmX 24 Oct 2014, 02:55
Quote:

You can include the headers any way you prefer, by providing the full path or using the custom environment variable

http://flatassembler.net/docs.php?article=win32


Maybe it is possible to put them in %PATH%
I personally put them in custom environment variable called INCLUDE.
Post 24 Oct 2014, 02:55
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20333
Location: In your JS exploiting you and your system
revolution 24 Oct 2014, 08:18
It is easy to confirm that the PATH variable is not read.

The file 'TABLES.INC', line 6 has this:
Code:
include_variable db 'INCLUDE',0    
Post 24 Oct 2014, 08:18
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.