Re: rename a file
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 10885
interpreted = N
texte = At 06:49 PM 4/18/99 +0000, you wrote:>What is the simplest way to rename a file if the original file is an image.>I can see how if it is a regular text file you could put it inside a>[writefile] and then delete and rewrite but what if is all you are really>trying to do is rename an image in your images folder from picture1.jpg to>picture2.jpg. All you need to do is copy the file to a new name, and then delete the oldone.Example:[COPYFILE from=picture1.jpg&to=picture2.jpg][DELETEFILE file=picture1.jpg]Check the docs for more info on those commands.===============================================Howard WoloskyLead Programmer / Webmaster Lab2K, LLC+The Pubb - The best solution for your messageboard needs. Written in 100% Webcat. (www.lab2k.com/thepubb)+Will It Work? -The World's Largest Year 2000 Complaince Search Engine (www.willitwork.com)===============================================-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to
.This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Associated Messages, from the most recent to the oldest:
At 06:49 PM 4/18/99 +0000, you wrote:>What is the simplest way to rename a file if the original file is an image.>I can see how if it is a regular text file you could put it inside a>[writefile] and then delete and rewrite but what if is all you are really>trying to do is rename an image in your images folder from picture1.jpg to>picture2.jpg. All you need to do is copy the file to a new name, and then delete the oldone.Example:[COPYFILE from=picture1.jpg&to=picture2.jpg][DELETEFILE file=picture1.jpg]Check the docs for more info on those commands.===============================================Howard WoloskyLead Programmer / Webmaster Lab2K, LLC+The Pubb - The best solution for your messageboard needs. Written in 100% Webcat. (www.lab2k.com/thepubb)+Will It Work? -The World's Largest Year 2000 Complaince Search Engine (www.willitwork.com)===============================================-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Howard Wolosky
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Location of Browser Info.txt file (1997)
Setting up shop (1997)
Shopping Cart Page (1997)
when is failing to [URL]ize values in a comparison risky? (1999)
[WebDNA] Custom error pages on Apache? (2011)
ooops...WebCatalog [FoundItems] Problem - LONG - (1997)
Limitations on fields? Server is crashing (1997)
no template caching (1997)
Separate SSL Server (1997)
RE: WebCatalog2 for NT Beta Request (1997)
what does [url] copy [/url] really do? (2000)
Need relative path explanation (1997)
WCS Newbie question (1997)
If Else Statement... (2004)
Navigator 4.01 (1997)
Problem with updating 2.1b7 -> 2.1.1 (1998)
[WebDNA] Funding for a new v7+ commerce system? (2011)
Fun with Dates - revisited (1997)
process SSI (1998)
Car Database (2002)