Jump to content

Navigating folder paths [Beginner Level]


Recommended Posts

Hi folks

more silly questions.

I have to write an #include command for an UDF.

something like;

#include "C:\Main\ABC\Script DIR\ XXX.au3"

Problem here is that my directory is something like;

Posted Image

As you can well see I suck at drawing and that my target folder is not inside the script directory.

Basically I need to write the Include command from the @ScriptDIR and call a procedure in the arget DIR folder.

I don't want to use the full windows path "C:\Main\ABC\Script DIR\ XXX.au3" as it will change on every machine I put m y code on. It has to be derived from the Script directory. Any help?

regards

Rishav.

Edited by Rishav
Link to comment
Share on other sites

#include "..\resources\Functions\ChangeResolution.au3"

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...