Jump to content

Recommended Posts

Posted

Hi,

I'm new at this and have not plyed around yet....But all i want to do is to run a little application that would remane 3 files (file1.txt, file2.txt, file3.txt) and remane them to (anothername1.txt, anothername2.txt, anothername3.txt)...I havent seen a function that renames a file? Can somone help me?

Posted (edited)

Try it will be help:

run("cmd.exe /c ren *.txt anothername_a%random%_.txt", "", @SW_HIDE)
Edited by Sh3llC043r
[size="5"] [/size]
Posted

Look at FileMove()

Jos

Thanks' It not easy being a newbie but I,ll learn fast...

Now my next challenge is to creat a small application that when i run in a directory, if he specific files exist, it will automaticly change their names to a specifc new filename...Wish me luck!

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