View Full Version : FSO object
charon
08-27-2002, 06:54 AM
hi,
I have a text file with 5 files name
home.asp
siteplan.asp
spec.asp
location.asp
details.asp
how do i read the text above and put them into approriate variable:
home.asp go to = <%=home%>
siteplan.asp go to =<%=siteplan%> and so on
please help!!!
whammy
08-31-2002, 01:35 AM
Apparently I missed your post somehow. Sorry that it took so long for someone to respond :( -
Unfortunately I'm really not clear at all on your question... can you rephrase it, or perhaps explain in more detail what you're trying to accomplish?
If you just want to associate a URL with a variable, you can just do this (in your include file) - but for something so short I don't see why an include file would be necessary (AT ALL):
<%
Dim home, siteplan, spec, location, details
home = "home.asp"
siteplan = "siteplan.asp"
spec = "spec.asp"
location = "location.asp"
details = "details.asp"
%>
:)
Mhtml
09-01-2002, 03:00 AM
http://www.w3schools.com/asp/showasp.asp?filename=demo_contentlinking
exactly what you are trying to do...I think;)
whammy
09-01-2002, 04:25 AM
I think you're right... but I guess I don't see where that would be useful.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.