Sign in to follow this  
Followers 0
BubbleGumDancer

Directory macros

what meat do you like   9 members have voted

  1. 1. what meat do you like

    • chicken
      2
    • cow
      2
    • pork
      0
    • goat
      0
    • human
      4
    • fish?
      1

Please sign in or register to vote in this poll.

3 posts in this topic

Hello

Today I'm trying to use directory macros to select a file. But I just have no idea how since I have never used @SystemDir

I want to be able to select user32.dll and make it a variable. The rest of my script is fine I just dont want to have to open a full file path to open it.

$sSourceFile = @SystemDir "User32.dll"

If you were twice as smart, you'd still be stupid.

Share this post


Link to post
Share on other sites



$sSourceFile = @SystemDir & "\user32.dll"

However, if you're using DllCall, you don't need to specify the path for system dlls.

Share this post


Link to post
Share on other sites

$sSourceFile = @SystemDir & "\user32.dll"

However, if you're using DllCall, you don't need to specify the path for system dlls.

oh cool thank you XD


If you were twice as smart, you'd still be stupid.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0