Jump to content

Recommended Posts

Posted (edited)

I could just run cmd and use the command: rename.

But are there no commands for rename a file in autoit?

EDIT: Oh sorry Larry... I didn't read the FileMove help file finished. You have right. Sorry :lmao:

"Because AutoIt lacks a "FileRename" function, use FileMove to rename a file!"

Edited by Mr. Zero
Posted

:lmao::ph34r::geek: Just trust Larry and try fileMove() same location other name.It will work. :)

So long,

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Posted

But this will move the file, not rename it :lmao:

FileMove("C:\Temp\SciTE-temp.au3", "C:\Temp\NEW-NAME.au3")

It will rename the file!

:-)

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

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
×
×
  • Create New...