Jump to content

Dircreate Not Working Using Beta Run/compile


Recommended Posts

Maybe some one can help me out on this one. I just upgraded to the latest beta, 121, to see if it would get rid of the _ArraySearch error that kept popping up on compiles. That error is now gone/fixed but now I'm noticing that DirCreate no longer works when using the Beta Run/Compile. If I do a normal run/compile, it creates the directory just fine but if I use the beta run/compile if fails to create the directory and returns a 0 (failure). I'm using the exact same code just using the beta and non-beta run commands. Has anyone else noticed this and is there a fix for it? Thanks.

Link to comment
Share on other sites

  • Moderators

Do you have the error that it is giving you? Do you have some code you are using that we can test or look at?

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

$status = DirCreate("C:\Program Files\ImageUpdater")

MsgBox(64, "Test", $status)

it is a simple DirCreate command. Works when I click Go in Tools menu but fails when I click Beta Run.

it works fine in beta 118.

Edited by thefunkie1
Link to comment
Share on other sites

I tested those two lines of code on 117 from within SciTE:

Tools > Go (for the production run)

[Result: directory created]

Manually removed the directory

Tools > Beta Run (117)

[Result: directory created]

Manually removed the directory

Installed 121 and confirmed the problem... it would not create the directory

[be warned that if the directory already exists from the "production test", 121 will report "1"]

Edit: installed 120 - works as expected... (the directory is created)

Edit2: there has been some work in that area as of late:

http://www.autoitscript.com/forum/index.ph...showtopic=24899

Edit3: tested on XP Pro SP2

Edit4: and yet DirCreate("C:\Test 1\Folder1\Folder 2") works with 121

Edited by herewasplato

[size="1"][font="Arial"].[u].[/u][/font][/size]

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...