Jump to content

need some help


top
 Share

Recommended Posts

it doesnt work

please help

thanks in advance.

$rename FileMove ("file1", "file_1")
If $rename = 0 Then
MsgBox(0, "Rename", "Error. Can't rename file")
Else
MsgBox(0, "Rename", "Rename successfull")
EndIf
Edited by top
Link to comment
Share on other sites

why does it not work?

does it do nothing? does it crash your computer?

does it make your computer smoke?

does it put the power out in your neighborhood?

jokning aside, the problem is probably that in the first line, there needs to be an = sign after $rename but before FileMove. And, the two files inside filemove need extensions. And, you say Elselse on line 4, it's just Else.

But in the future, try telling us why it doesn't work, because the errors won't always be as easy to find as those.

The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Link to comment
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
 Share

  • Recently Browsing   0 members

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