x
login register about faq

Creating universal html shortcuts on USB drive

Could somebody please help me=[

I am creating a website resource for a teaching course. The site is to be distributed amongst pupils on USB drives for use on their PC and Mac computers.

I can copy the website SITE folder and assets to each drive, however in order to open the website the pupils must navigate into the SITE folder and pick the HOME.html from dozens of HTML files. This is ugly and confusing to some students.

I would like to create a shortcut to the HOME.html file that sits clearly in the USB drive when opened, so that pupils only have one click to access the site. This is problematic however as shortcuts/aliases seem to break on USB drives when they are moved between computers. I also need this solution to be cross platform.

It seems like a simple problem but i cannot find the solution. Could somebody please help!

Many thanks.

more ▼

asked Aug 05, 2012 at 07:39 PM

LouiseJones85 gravatar image

LouiseJones85
2 4 5 6

(comments are locked)
10|600 characters needed characters left

1 answer: sort voted first

The easiest way to solve this issue is with something like freehostia.com. The problem that you will run into is that the setup of each computer is a little different. Also links are different between the Operating systems. I am for windows and linux not mac but try these:

for linux/mac use this put this in the directory before "SITE" in a file maybe named MACHOME.SH with the contents of:
#!/bin/sh
SITE/HOME.html

then instruct the student with mac to run the sh machome.sh command on their shell prompt

For windows for example you could have a directory structure that as a "SITE" folder and so the file would be "SITE\HOME.html" then what you could do is put a small batch file at the "SITE" level for example "C:\SITE" and "C:\WINHOME.bat" and the contents of home.bat would be "c:\site\home.html" then each student could make their own link to the home.bat file. This way the students wouldn't have to look through a list of files to find the home.html. Windows has a mklink but it seems to have permissions issues. When I tested it it failed to create a full link under some situations.

more ▼

answered Oct 26, 2012 at 03:53 PM

page3131 gravatar image

page3131
1 2

(comments are locked)
10|600 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x5
x1
x1

asked: Aug 05, 2012 at 07:39 PM

Seen: 2123 times

Last Updated: Oct 26, 2012 at 03:54 PM