Jump to content
Sign in to follow this  
killaz219

Rename?

Recommended Posts

killaz219

Hi im new to auto-it and i would like to know if there was any way you could use auto it to rename a file? This question is a little general i know but it would be useful :ph34r:

Share this post


Link to post
Share on other sites
hinfie

Hi im new to auto-it and i would like to know if there was any way you could use auto it to rename a file? This question is a little general i know but it would be useful  :ph34r:

<{POST_SNAPBACK}>

You can use FileMove ( "oldfile.txt", "newfile.rtf")

Hinfie

Share this post


Link to post
Share on other sites
killaz219

Thx that worked :ph34r:

Share this post


Link to post
Share on other sites
ezzetabi

What about adding a section in the Help file list called 'FileRename' that explain that FileMove actually renames?

(if origin and dest are in the same partition of course...)

Share this post


Link to post
Share on other sites
Jos

What about adding a section in the Help file list called 'FileRename' that explain that FileMove actually renames?

(if origin and dest are in the same partition of course...)

<{POST_SNAPBACK}>

Or just add the command FileRename() as an alias for Filemove .... Edited by JdeB

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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  

×