flat assembler
Message board for the users of flat assembler.
Index
> IDE Development > Did i can open many files from text file ? |
Author |
|
Roman 29 Jul 2020, 15:14
And how send Fasm editor window from my program some text ?
I want create my few samll programs and ech program can send to Fasm editor window some generated text. Or my program load my text file and send message Fasm to open one or all this files. How do this ? And what about support dll in fasm ? And run Dlls list ? Last edited by Roman on 29 Jul 2020, 15:20; edited 2 times in total |
|||
29 Jul 2020, 15:14 |
|
revolution 29 Jul 2020, 15:17
Are you referring to fasmw? You want to have it open many files at the same time?
|
|||
29 Jul 2020, 15:17 |
|
Roman 29 Jul 2020, 15:17
Quote: You want to have it open many files at the same time? Yes. Last edited by Roman on 29 Jul 2020, 15:20; edited 1 time in total |
|||
29 Jul 2020, 15:17 |
|
revolution 29 Jul 2020, 15:20
Moving to IDE Development forum.
|
|||
29 Jul 2020, 15:20 |
|
Tomasz Grysztar 29 Jul 2020, 15:27
You can try a batch file looking like this:
Code: @echo off set CMD=c:\asm\fasm\fasmw.exe for /f "tokens=* delims=" %%G in (%1) do call :append ^"%%G^" start %CMD% goto :end :append set CMD=%CMD% %1 goto :end :end Last edited by Tomasz Grysztar on 29 Jul 2020, 18:38; edited 2 times in total |
|||
29 Jul 2020, 15:27 |
|
Roman 29 Jul 2020, 15:47
Thanks ! Work fine ! If i do on disk C
But if i do this from disk D: I get error --------------------------- flat assembler 1.73.04 --------------------------- Could not load file D:\Fasm. --------------------------- ОК --------------------------- Or if i do in c:\Fasm myfile. myfile1.txt D:\Fasm OpenGL4-5\Fasm OpenGL\dx11 pbr test msh\DX11 Text2.asm The same error. Could not load file D:\Fasm. |
|||
29 Jul 2020, 15:47 |
|
Tomasz Grysztar 29 Jul 2020, 18:37
Oh, I did not put the quotes around the paths correctly. Please try the updated version (I edited the previous post).
|
|||
29 Jul 2020, 18:37 |
|
Roman 29 Jul 2020, 19:55
Hm. Now fasm open text from myfile.txt. I was drop on disk D:
But not open file D:\Fasm OpenGL4-5\Fasm OpenGL\dx11 pbr test msh\DX11 Text2.asm And i see in fasm editor: Code: D:\Fasm OpenGL4-5\Fasm OpenGL\dx11 pbr test msh\DX11 Text2.asm But if i drop on disk C: work correct. I put new bat file in C:\Fasmw17112\ |
|||
29 Jul 2020, 19:55 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.