The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Newbie - Need Help
Bill Rigsby
post Oct 25 2023, 12:00 PM
Post #1





Group: Members
Posts: 7
Joined: 25-October 23
Member No.: 29,079



I am having some difficulties with linking files after burning a CD.

Once I burn a CD, and click a link, it is looking to my desktop where the original files were stored for the file and I get the error....
Your file couldn’t be accessed​
It may have been moved, edited, or deleted.


ERR_FILE_NOT_FOUND

How do I or what do I edit this to say, to tell it to look to the CD for the linked file?....
Attached Image



Obviously this needs to be done on the master file, not editing on the CD.
This is probably very simple, but I am stumped, sorry!





Bill
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Oct 25 2023, 12:57 PM
Post #2


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



QUOTE(Bill Rigsby @ Oct 25 2023, 09:00 AM) *

How do I or what do I edit this to say, to tell it to look to the CD for the linked file?....

Your link is using the full URL. Use a relative URL instead. See the FAQ entry:
https://htmlhelp.com/faq/html/basics.html#relative-url
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 25 2023, 01:24 PM
Post #3


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,733
Joined: 9-August 06
Member No.: 6



Or possibly even Windows paths are used. I think some browsers accept them.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Bill Rigsby
post Oct 25 2023, 02:52 PM
Post #4





Group: Members
Posts: 7
Joined: 25-October 23
Member No.: 29,079



QUOTE(Darin McGrew @ Oct 25 2023, 01:57 PM) *

QUOTE(Bill Rigsby @ Oct 25 2023, 09:00 AM) *

How do I or what do I edit this to say, to tell it to look to the CD for the linked file?....

Your link is using the full URL. Use a relative URL instead. See the FAQ entry:
https://htmlhelp.com/faq/html/basics.html#relative-url



All examples appear to be for a web site (www.......)

I think I am in over my head, just lost!
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Bill Rigsby
post Oct 25 2023, 05:57 PM
Post #5





Group: Members
Posts: 7
Joined: 25-October 23
Member No.: 29,079



I thought I had it figured out, edited it to this.....
Attached Image
and it worked.....


.....but HTML decides to arbitrarily change it to this, specifying a drive letter!
Attached Image
So, will not work in either other computer because the DVD drive is NOT D:


UUUGGHH!

This post has been edited by Bill Rigsby: Oct 25 2023, 05:59 PM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 25 2023, 09:56 PM
Post #6


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,733
Joined: 9-August 06
Member No.: 6



HTML doesn't, cannot, change anything. Possibly your editor did. What program do you use? And what did you do between the first screen cap and the second? Just saved the file?

How you had it in the first screen cap is correct, provided what you want the link to do is to lead to a specific point in the same document.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Bill Rigsby
post Oct 25 2023, 10:48 PM
Post #7





Group: Members
Posts: 7
Joined: 25-October 23
Member No.: 29,079



QUOTE(pandy @ Oct 25 2023, 10:56 PM) *

HTML doesn't, cannot, change anything. Possibly your editor did. What program do you use? And what did you do between the first screen cap and the second? Just saved the file?

How you had it in the first screen cap is correct, provided what you want the link to do is to lead to a specific point in the same document.




My editor? Well that's simply Chrome!
After poking around on the internet to find out how to edit HTML that's what I found.
Everything worked really well to get rid of all the typographical errors and reformat some of the text to my liking,
but now this debacle.

Just a bit of a backstory, grew up in Silicon Valley, from 68 to 98, we all heard of HTTP HTML FTP all of those acronyms but we were box builders we built systems.
Worked at Zilog from 78 to 98, we were the makers of the Z80 which at the time, after we were purchased from Exxon Information Systems, our CEO (Edgar Sack) said
we could have been the chosen product of IBM, but we chose not to be chosen, the hardware guys were just laughing in the background, the 8080 was obviously a
superior product, and the rest, as they say is history.
You want a computer, I'll build you a computer, this is my first dabbling in any kind of 'coding' I guess it is?

So please forgive my ignorance.

So yes, basically I just started deleting stuff, trial and error until I found something that worked.
Hit control S, and saved it as the existing Index file.

I was quite happy when everything worked, I saved the files as an ISO image and then burned them to another CD,
and it worked, until I put it in second and third computer at the house which did not have the CD drive as D: and back to square one.

And so here we are!
As they say!

These are the files in use.....
Attached Image


Bill



User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 26 2023, 10:16 AM
Post #8


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,733
Joined: 9-August 06
Member No.: 6



OK. I don't have Chrome so I didn't even know it had an editor.

Try this instead. Open the file in a plain text editor and edit that line. If you are on Windows Notepad will do.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Bill Rigsby
post Oct 26 2023, 04:06 PM
Post #9





Group: Members
Posts: 7
Joined: 25-October 23
Member No.: 29,079



QUOTE(pandy @ Oct 26 2023, 11:16 AM) *

Try this instead. Open the file in a plain text editor and edit that line. If you are on Windows Notepad will do.



OK, thanks, that does work and is easier, all of the top links now drop you down to those sections.

<td width="20%">
<b>
<p align="CENTER"><font face="TIMES NEW ROMAN" color="#CC0000" size="4"><a href="#tractors">Tractors</a></font></p><font face="TIMES NEW ROMAN" color="#CC0000" size="4">
</font></b><font face="TIMES NEW ROMAN" color="#CC0000" size="4">
</font></td>

<td width="20%">
<b>
<p align="CENTER"><font face="TIMES NEW ROMAN" color="#CC0000" size="4"><a href="#implements">Implements</a></font></p><font face="TIMES NEW ROMAN" color="#CC0000" size="4">
</font></b><font face="TIMES NEW ROMAN" color="#CC0000" size="4">
</font></td>

<td width="20%">
<b>
<p align="CENTER"><font face="TIMES NEW ROMAN" color="#CC0000" size="4"><a href="#engines">Engines</a></font></p><font face="TIMES NEW ROMAN" color="#CC0000" size="4">
</font></b><font face="TIMES NEW ROMAN" color="#CC0000" size="4">
</font></td>

<td width="20%">
<b>
<p align="CENTER"><font face="TIMES NEW ROMAN" color="#CC0000" size="4"><a href="#tritrac">Tri-Trac</a></font></p><font face="TIMES NEW ROMAN" color="#CC0000" size="4">
</font></b><font face="TIMES NEW ROMAN" color="#CC0000" size="4">
</font></td>

<td width="20%">
<b>
<p align="CENTER"><font face="TIMES NEW ROMAN" color="#CC0000" size="4"><a href="#catalogs">Catalogs</a></font></p><font face="TIMES NEW ROMAN" color="#CC0000" size="4">
</font></b><font face="TIMES NEW ROMAN" color="#CC0000" size="4">
</font></td>

Attached Image

The problem still is, how to tell (it) to open each PDF file in each section, there are 177 PDF files?
There must be a way to direct (it) to the proper folder, regardless of where all of the files are stored,
meaning they are all stored in the same main folder or directory, be it on the C:Drive, E: Drive or a CD?

This is what is currently in the first section, interesting, that the first item is directed to the New Folder,
where I put copies to work on, the rest are directed to the original folder?


<td width="25%">
<b>
<p align="CENTER"><font face="TIMES NEW ROMAN" color="#CC0000" size="3"><a href="file:///C:/Users/rigsb/Desktop/New%20folder/tractors/5751.pdf" target="BLANK">917.5751</a><br>Garden Tractor</font></p><font face="TIMES NEW ROMAN" color="#CC0000" size="3">
<p align="CENTER"><font face="TIMES NEW ROMAN" color="#CC0000" size="3"><a href="file:///C:/Users/rigsb/Desktop/DAVID%20BRADLEY%20Reference%20Guide/tractors/5752.pdf" target="BLANK">917.5752</a><br>Garden Tractor</font></p><font face="TIMES NEW ROMAN" color="#CC0000" size="3">
<p align="CENTER"><font face="TIMES NEW ROMAN" color="#CC0000" size="3"><a href="file:///C:/Users/rigsb/Desktop/DAVID%20BRADLEY%20Reference%20Guide/tractors/5756.pdf" target="BLANK">917.5756</a><br>Garden Tractor</font></p><font face="TIMES NEW ROMAN" color="#CC0000" size="3">
<p align="CENTER"><font face="TIMES NEW ROMAN" color="#CC0000" size="3"><a href="file:///C:/Users/rigsb/Desktop/DAVID%20BRADLEY%20Reference%20Guide/tractors/57560.pdf" target="BLANK">917.57560</a><br>Super Power<br><a href="file:///C:/Users/rigsb/Desktop/DAVID%20BRADLEY%20Reference%20Guide/tractors/57560s1.pdf" target="BLANK">Supplement 1</a></font></p><font face="TIMES NEW ROMAN" color="#CC0000" size="3">
<p align="CENTER"><font face="TIMES NEW ROMAN" color="#CC0000" size="3"><a href="file:///C:/Users/rigsb/Desktop/DAVID%20BRADLEY%20Reference%20Guide/tractors/57561.pdf" target="BLANK">917.57561</a><br>Super Power</font></p><font face="TIMES NEW ROMAN" color="#CC0000" size="3">
<p align="CENTER"><font face="TIMES NEW ROMAN" color="#CC0000" size="3"><a href="file:///C:/Users/rigsb/Desktop/DAVID%20BRADLEY%20Reference%20Guide/tractors/57562.pdf" target="BLANK">917.57562</a><br>Special</font></p><font face="TIMES NEW ROMAN" color="#CC0000" size="3">
<p align="CENTER"><font face="TIMES NEW ROMAN" color="#CC0000" size="3"><a href="file:///C:/Users/rigsb/Desktop/DAVID%20BRADLEY%20Reference%20Guide/tractors/57571.pdf" target="BLANK">917.57571</a><br>Super 3</font></p><font face="TIMES NEW ROMAN" color="#CC0000" size="3">
</font></font></font></font></font></font></font></b><font face="TIMES NEW ROMAN" color="#CC0000" size="3"><font face="TIMES NEW ROMAN" color="#CC0000" size="3"><font face="TIMES NEW ROMAN" color="#CC0000" size="3">
</font></font></font></td>

Attached Image

Also, FWIW, these are the first lines in the HTML Code;
<!-- saved from url=(0062)file:///C:/Users/rigsb/Desktop/New%20folder/Index.htm#tractors -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252">





Bill


User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 26 2023, 04:29 PM
Post #10


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,733
Joined: 9-August 06
Member No.: 6



QUOTE(Bill Rigsby @ Oct 26 2023, 11:06 PM) *

OK, thanks, that does work and is easier, all of the top links now drop you down to those sections.


Good. There are nicer text editors with syntax highlighting and so on, but Notepad gets the work done too, as you noticed.


QUOTE
The problem still is, how to tell (it) to open each PDF file in each section, there are 177 PDF files?
There must be a way to direct (it) to the proper folder, regardless of where all of the files are stored,
meaning they are all stored in the same main folder or directory, be it on the C:Drive, E: Drive or a CD?

This is what is currently in the first section, interesting, that the first item is directed to the New Folder,
where I put copies to work on, the rest are directed to the original folder?


Not sure I follow that. You should use the URL to where the PDF files really are. And since you put the HTML on a CD I assume you are going to share it or use it yourself on another machine, so you should move all PDFs and other needed files to the CD.

Then you can use relative URLs (Darin linked to an explanation of that).

If you put all your files, HTML, images, PDFs and what you may have in the same folder, it's as easy as using the file name as the URL. For example...

CODE
<a href="5752.pdf"> Link text</a>


Or if you want some more structure and have your HTML in a main folder and all the PDFs in a folder within that called pdf it goes like this.

CODE
<a href="pdf/5752.pdf"> Link text</a>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Bill Rigsby
post Oct 26 2023, 04:43 PM
Post #11





Group: Members
Posts: 7
Joined: 25-October 23
Member No.: 29,079



QUOTE(pandy @ Oct 26 2023, 05:29 PM) *

QUOTE(Bill Rigsby @ Oct 26 2023, 11:06 PM) *

OK, thanks, that does work and is easier, all of the top links now drop you down to those sections.


Good. There are nicer text editors with syntax highlighting and so on, but Notepad gets the work done too, as you noticed.


QUOTE
The problem still is, how to tell (it) to open each PDF file in each section, there are 177 PDF files?
There must be a way to direct (it) to the proper folder, regardless of where all of the files are stored,
meaning they are all stored in the same main folder or directory, be it on the C:Drive, E: Drive or a CD?

This is what is currently in the first section, interesting, that the first item is directed to the New Folder,
where I put copies to work on, the rest are directed to the original folder?


Not sure I follow that. You should use the URL to where the PDF files really are. And since you put the HTML on a CD I assume you are going to share it or use it yourself on another machine, so you should move all PDFs and other needed files to the CD.

Then you can use relative URLs (Darin linked to an explanation of that).

If you put all your files, HTML, images, PDFs and what you may have in the same folder, it's as easy as using the file name as the URL. For example...

CODE
<a href="5752.pdf"> Link text</a>


Or if you want some more structure and have your HTML in a main folder and all the PDFs in a folder within that called pdf it goes like this.

CODE
<a href="pdf/5752.pdf"> Link text</a>



Thanks I'll have to look into some of this later when I get home, right now all of the 177 PDF files are stored into five folders based on the type of item it is.

At least, with your help I'm making some progress.

It's always a good day when you learn something new!


Bill








User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 26 2023, 07:17 PM
Post #12


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,733
Joined: 9-August 06
Member No.: 6



You can keep that file structure if you think it's useful, but you need to move the files to the CD.

Take this PDF for instance.
CODE
file:///C:/Users/rigsb/Desktop/DAVID%20BRADLEY%20Reference%20Guide/tractors/57571.pdf


Lets say you create a folder called "pdf" inside the folder where you have your HTML files. And inside the pdf folder you just created you create a folder called "tractors". In that one you put all your tractor PDFs.

The relative URL to that file would then be this.

CODE
pdf/tractors/57571.pdf
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Bill Rigsby
post Oct 27 2023, 11:03 AM
Post #13





Group: Members
Posts: 7
Joined: 25-October 23
Member No.: 29,079



QUOTE(pandy @ Oct 26 2023, 05:29 PM) *



Or if you want some more structure and have your HTML in a main folder and all the PDFs in a folder within that called pdf it goes like this.

CODE
<a href="pdf/5752.pdf"> Link text</a>




PERFECT!!

I just replace pdf with the folder name, ie. tractors, engines, etc., and it works like a charm!!


THANK YOU SO MUCH FOR YOUR PATIENCE AND HELP wub.gif


Bill
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Jason Knight
post Nov 6 2023, 10:01 PM
Post #14


Advanced Member
****

Group: Members
Posts: 103
Joined: 25-December 22
Member No.: 28,719



Side note, mein gott that HTML is horrifying. Pure HTML 3.2? What is this, 1997?

Tables for layout, tags like "font" and attributes like "align" that haven't existed in 25 years, invalid nesting, unclosed tags...

File linking is the least of your woes. Well, unless the end goal is to build a HTML e-mail.

Since you're admittedly a nube, might I suggest learning from a source newer than 1998?

This post has been edited by Jason Knight: Nov 6 2023, 10:04 PM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 27th April 2024 - 04:54 PM