portable version file on start up

156 views
Skip to first unread message

justaguy

unread,
Jan 30, 2014, 10:16:40 AM1/30/14
to mylifeo...@googlegroups.com
how can I set to have the portable mlo open the file stored on the usb stick on start up ? right now it wants to open the file
stored on my pc's  document directory.

thanks in advance

Mark

unread,
Jan 31, 2014, 2:20:07 AM1/31/14
to mylifeo...@googlegroups.com
I think it simple remembers the location of the last file opened...relative to the program..

justaguy

unread,
Jan 31, 2014, 10:31:50 PM1/31/14
to mylifeo...@googlegroups.com
yes, it remembered the issue is that the file name is with respect to the drive letter the usb is assigned at that time, I supposed I will have to "fix" the drive letter for the usb stick, I was hoping that it I don't have to assign a permanent fix drive letter to the stick.

Gleep

unread,
Feb 2, 2014, 1:45:46 PM2/2/14
to mylifeo...@googlegroups.com
Create a text file, name it something like "myMLO.cmd".  put that file in the directory with MLO.exe,

In that file, put these entries:

@echo off
mlo.exe .\myfile.ml

Where "myfile.ml" is your data file. Put myfile.ml in the same directory.  

Now, do not launch mlo.exe - instead, launch myMLO.cmd

Alternatively, you could probably put the command "mlo.exe .\myfile,ml" in an autorun file in the root of your flash drive, but I have not played around with that as much - autorun offends me. 

Mark

unread,
Feb 3, 2014, 4:21:02 AM2/3/14
to mylifeo...@googlegroups.com
Gleep, thanks made me think...

So I adapted your idea a little, since I want to start two instances of MLO from my USB stick with two separate files.

I created a batch file containing the following;

@echo off
start
"MLO1" applications\portableapps\mlo\mlo.exe %~dp0\"My Documents"\MLO\"File1.ml"

start
"MLO2" applications\portableapps\mlo\mlo.exe %~dp0\"My Documents"\MLO\"File2.ml"


If you want to open multiple files - then make sure in options/behaviour in MLO multiple instances are allowed.

  1. Basic steps are open up Notepad in windows.
  2. Create the batch file entry
  3. Put in the path to your MLO.exe
  4. You need to enter your file name and adjust the path) (%~dp0 - gets you to the root Dir relative to MLO.exe) for your MLO data files.
  5. Save the file with a .bat extension.

When you double click on it, it will launch MLO and the file(s)

justaguy

unread,
Feb 3, 2014, 10:59:31 AM2/3/14
to mylifeo...@googlegroups.com
thanks, that settle it, initially I was thinking there might be some setting in the program to say where to look for the default file. But this will work fine :-)

Mark

unread,
Feb 4, 2014, 3:23:02 AM2/4/14
to mylifeo...@googlegroups.com
Hi,

The reason I looked at creating the batch file was because I wanted to launch two profiles at once.  But before when I used only one, using the portable version, MLO opened the file from the USB drive everytime.  Between my home and work PC the drive is given different drive letters, D or P.  all I get is a notification telling me I need to confirm its correct for syncing.

May be a stupid question, but you have installed the portable version - i.e. unzipped the portable version to your drive, and not installed the standard version to your drive?

robisme (Olivier R)

unread,
Feb 4, 2014, 2:45:38 PM2/4/14
to mylifeo...@googlegroups.com
By the way, is it possible to bring  the keyboard shortcuts and theme to the USB also?
They are saved somewhere in the "local roaming" or something like that, instead of the app folder. 
Furtermore, does that mean such a folder and datas will be created on each computer I open the portable version on?
Olivier

Mark

unread,
Feb 4, 2014, 3:10:16 PM2/4/14
to mylifeo...@googlegroups.com
IF you use the portable version, then everything remains on the USB stick, all the shortcuts, themes etc...

robisme (Olivier R)

unread,
Feb 4, 2014, 4:17:24 PM2/4/14
to mylifeo...@googlegroups.com
I'm not that sure.
At least, I once lost all my themes and shortcuts by uninstalling the "dekstop" version, (yet continuing to use the "portable" version).
Can someone confirm that if I use MLO from my USB on another computer, it will bring the theme and the shortcuts with it?

robisme (Olivier R)

unread,
Feb 4, 2014, 4:19:48 PM2/4/14
to mylifeo...@googlegroups.com
I mean, someone more, sorry Mark, I want to trust you, but with my "story", can you still confirm?
(I'm not english native, forgive my dub language)

Mark

unread,
Feb 5, 2014, 3:52:56 AM2/5/14
to mylifeo...@googlegroups.com
Oliver,

No offence taken.

All I can see is that it makes sense that the portable version keeps everything on the USB drive.

I am not sure that using both the USB and installed version should be an issue, but who know.

BUT I would think if you look in the forums and find the posts by Andrey that tell you how you can transfer the themes/view etc to another computer, then simply making a copy of those files and storing them elsewhere would give you a backup???  Maybe someone else can confirm.
Reply all
Reply to author
Forward
0 new messages