Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You've probably found a solution already, but just come across your question and I recently had the same scenario. I'm assuming you mean on PC.</p> <p>I solved it as follows:</p> <p>In the PortableGoogleChrome folder (after portable chrome is setup on the usb drive), there is a default file called parameter.txt. I added the following in order to set the homepage to my local file. It is in a sub folder called 'resources' located on the usb drive root: </p> <pre><code>--homepage="\resources\index.html" </code></pre> <p>That's all for the parameter.txt file. That takes care of the homepage setting. </p> <p>Now to launch portable chrome, I created a windows batch file called launcher.bat also at the root of the usb drive (call it whatever you like obviously!). I added the following code: </p> <pre><code>@echo off cd PortableGoogleChrome "ChromeLoader.exe" </code></pre> <p>The launcher file changes the directory to PortableGoogleChrome and then loads Chrome via ChromeLoader.exe which takes in your homepage or other <a href="http://www.ericdlarson.com/misc/chrome_command_line_flags.html" rel="nofollow">parameters</a> in Parameters.txt.</p> <p>FINALLY, in order to create an application to replace the Launcher.bat file (as I figured a windows application with icon would be more intuitive to run than the batch file), I found a windows utility called <a href="http://www.computerhope.com/issues/ch000435.htm" rel="nofollow">bat_to_exe_converter</a> which enabled me to convert the bat to an exe and supply an icon also (having tried to do so in C++, C# but errors because of needing supporting DLL's, this was much more straightforward). </p> <p>Hope that's of use!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload