FREE tutorial,solution,RSS Feeds on Operating Systems, Programming, Web Development, Applications, Databases, Networking, Hardware, Security, SEO Free Expertsforge Membership
Join us as Moderator
Submit Article to Expertsforge.com Submit Article My Expertsforge
 
RSS Feeds, Help Help RSS Feeds
bannertop
 

ASP Tutorial: Rename a file dynamically using asp

jawahar
5/12/2006 2:07:28 AM, Views: 1595
The code is used to rename a file on the server dynamically using fso(file system object) in ASP.


<%
Sub reNameFile(oldFileName, newFileName)
    Dim fso
    Set fso = CreateObject("Scripting.FileSystemObject")
    fso.MoveFile server.mappath(oldFileName), srver.mappath(newFileName)
    Set fso = Nothing
End Sub
%>
Next Steps:
Add this Tutorial to:
Blink Blink del.icio.ous Del.icio.us Digg Digg
Fark Fark Furl Furl Google Google
Reddit Reddit Simpy Simpy Spurl Spurl
Technorati Technorati Windows Live Win Live Yahoo Yahoo
Rate Me!
Avg Visitor Rating: Average Visitor Rating is 2.5 out of 5
Number of Ratings : 2 Votes
Rate:
Send Private MessageSend Message
Signup / Login To View the Solution or Provide Comments
Post Comment/Solution
Comment:*
        (Link Rules) 
  Use : [bold] for <b>; [/bold] for </b>; [italic] for <i>; [/italic] for </i>; [code] & [/code] for code
 
Categories
Options
ASP RSS Feed
Most Popular Tutorial
Most Popular Solution
Top Rated
Top Rankers
Overall
1. jawahar (2900)
Yearly -2008
1. jawahar (100)
Expertsforge Sponsors
bnrtop