Jump to content

Recommended Posts

Posted

If i try to compile i get this :

Posted Image

You can also try this complied version if you like, just for testing. _pathsplit(x86).zip

The script works just fine in my environment. Also you might want to ask somebody else for a support for your particular situation.

  • 3 years later...
Posted

I get some errors...

 

C:\Documents and Settings\Administrateur\Local Settings\Temp\Test_103.au3(81,54) : ERROR: _PathSplit() called with Const or expression on ByRef-param(s).
    $PathParts = _PathSplit($path, "", "", $FName, "")

 

Hello,
I known the thread is old. It's only thread with error from google. I would keep a record.
 
Just an information on "ERROR: _PathSplit() called with Const or expression on ByRef-param(s)."
 
The error generated because you use SciTE4AutoIt3 and you have to fill all parameters.
Local $sDrive = "", $sDir = "", $sExtension = ""
_PathSplit($path, $sDrive, $sDir, $FName, $sExtension) ;is valid
_PathSplit($path, "", "", $FName, "") ;is not valid
_PathSplit($path, Null, Null, $FName, Null) ;is not valid

sorry for my english.

 

Posted

Welcome to Autoit and the forum!

The OP has been offline for about 4 years. Do you think he still searches for an answer :)

AutoIt has changed a lot over this 4 years so a solution to the OPs problem could now be completely different.

So please do not necro old posts!

Thanks

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Posted (edited)

AutoIt has changed a lot over this 4 years so a solution to the OPs problem could now be completely different.

 

I'm Sorry to have necro old post.

My message is for people who encounters the problem (who will find this thread with google).

My message is not the original's OPs.

I encounter the problem yesterday on v3.3.10.2.

I found the solution myself.

Edited by sisko59

sorry for my english.

 

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
  • Recently Browsing   0 members

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