Web+ Tutorial

Previous

  Contents  

Next

Lesson 5.3 - Renaming a file

Description
Renames a file.
Syntax
<webFileRename FROM=SourceFileName TO=DestinationFileName
    FROMPASSWORD=ReadPassword TOPASSWORD=WritePassword>

Agument
/tutorial/argument/arg23.wml
Example
<webFileRename FROM=".\tmp.txt" TO=".\tmp2.txt"
    FROMPASSWORD="RPass" TOPASSWORD="WPass">

Exercise
This example is for your reference. You can try it on your own system.

You can try out some Web+ code of your own here.

Previous

  Contents  

Next

 

Copyright © 2009 Webplus, Inc. (talentsoft). All Rights Reserved.
webmaster@webplus.com