Jump to content
Sign in to follow this  

Simple Way To Remove First 3 Characters From All Files In A Directory?

Recommended Posts

i know how to create my array and all that using the directory i just want to remove 3 characters from every file after i select the directory...

i found this : http://www.autoitscript.com/forum/index.php?showtopic=99339&st=0&p=713322&hl=FileRename%20Remove%20Characters&fromsearch=1&#entry713322

but it seems more complicated than what i need...

Edited by supadodger

Share this post

Link to post
Share on other sites

try filefindfirstfile and filefindnextfile to get each file name,

use stringtrimleft to remove the left 3 characters,

then use filemove to rename each file.

your example merely stripped the left the left 3 characters from your variable, not your file name.

btw im not gonna write it for you.


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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...