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)

On Sunday, 2 February 2014 19:45:46 UTC+1, Gleep wrote:
>
> 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. 
>
> On Friday, January 31, 2014 10:31:50 PM UTC-5, justaguy wrote:
>>
>> 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.
>>
>> On Friday, January 31, 2014 2:20:07 AM UTC-5, Mark wrote:
>>>
>>> I think it simple remembers the location of the last file 
>>> opened...relative to the program..
>>>
>>> On Thursday, 30 January 2014 16:16:40 UTC+1, justaguy wrote:
>>>>
>>>> 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
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"MyLifeOrganized" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mylifeorganized.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mylifeorganized/cab587ae-9508-4966-8374-af3dc6b24cd0%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to