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!
Answer by page3131 · Oct 26, 2012 at 03:53 PM
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:
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.
USB over network in Hyper-V? 2 Answers