HighDots Forums  

Renaming file on Windows server with asp/vbscript?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Renaming file on Windows server with asp/vbscript? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
John
 
Posts: n/a

Default Renaming file on Windows server with asp/vbscript? - 11-02-2005 , 06:29 AM






Is it possible to rename a file on a windows server from a script on the
site's webpage (asp/vbscript)? My illustrations are linked by product names
and it would be cool if these names were edited the pictures could be
automarically renamed. I know I could do it another way but this sounds more
fun - if it can be done..

John



Reply With Quote
  #2  
Old   
bregent
 
Posts: n/a

Default Re: Renaming file on Windows server with asp/vbscript? - 11-02-2005 , 12:06 PM






In article <4368a30b$0$27980$ed2619ec (AT) ptn-nntp-reader02 (DOT) plus.net>, John says...
Quote:
Is it possible to rename a file on a windows server from a script on the
site's webpage (asp/vbscript)? My illustrations are linked by product names
and it would be cool if these names were edited the pictures could be
automarically renamed. I know I could do it another way but this sounds more
fun - if it can be done..
Sure, using FSO you could either use the move method or change the .Name
property of the file. Just do a search for FSO rename and you'll probably find
some code.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.