flat assembler
Message board for the users of flat assembler.

Index > Windows > Scriptware...

Author
Thread Post new topic Reply to topic
semiono



Joined: 31 Aug 2007
Posts: 192
Location: section '.code' executable
semiono 08 Jun 2008, 18:25
What is a %SystemRoot% for the fasmw ?

Code:
format PE GUI 5.0
include 'c:\a\apps\fasm\include\win32ax.inc'
section '.code' code readable executable
start:  invoke  ShellExecuteA,0,0,"rundll32.exe","Shell32.dll,Control_RunDLL desk.cpl desk,@Themes /Action:OpenTheme /File:""%systemroot%\Resources\Themes\Blackbox.theme",0,0
        invoke  ExitProcess,0
.end    start    


PLEASE Helpme? Sad

And this need above to send pressing button "OK"
Howto? Highlit a beauty code fore me!?...

_________________
Windows 9, FL Studio 19
Post 08 Jun 2008, 18:25
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20299
Location: In your JS exploiting you and your system
revolution 08 Jun 2008, 18:36
My environment variable has this line:
Code:
SystemRoot=C:\WINDOWS    
The setting in your machine is most probably the same or similar.
Post 08 Jun 2008, 18:36
View user's profile Send private message Visit poster's website Reply with quote
semiono



Joined: 31 Aug 2007
Posts: 192
Location: section '.code' executable
semiono 08 Jun 2008, 18:45
Directly for code.asm ?
You could are not understand the question?

This is not work(per fasm sinopsys):
Action:OpenTheme /File:""%systemroot%\Resources\Themes\Blackbox.theme

I need to use variable. :\
Post 08 Jun 2008, 18:45
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20299
Location: In your JS exploiting you and your system
revolution 08 Jun 2008, 18:55
Yes, I could not understand you question. Use GetEnvironmentVariable.
Post 08 Jun 2008, 18:55
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.