MOI INI File Change Location

Next
 From:  AlexPolo
8344.1 
Hi all,

Is it possible to change the location of the MOI Ini file to a new location. Keeping up with scripts across my main working desktop and laptop I have setup MOI to work over Google Drive working well any scripts I add are added to both computers would be good if I could move the ini file there also so any shortcut keys can be updated also.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
8344.2 In reply to 8344.1 
Hi Alex, when MoI starts it will look for moi.ini in either the same directory as moi.exe or in your user data folder (on Windows that's in %AppData%\Moi\moi.ini).

When it's initially created it puts it in the user data folder.

It's also possible to put it in any location of your choice if you tell MoI where it is by passing the moi.ini file name with full path as a command line parameter to MoI.exe, surround it with quotes " " if there are any spaces in the path.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
8344.3 
Mine is at Users\****\AppData\Roaming\Moi
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  AlexPolo
8344.4 
thanks for that I have moved the ini file into the Google Drive folder and now I have MOI synced across my 2 work computers doesnt get much better. Any scripts that I add along the way in one location gets updated in the other.

smooth sailing.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  mkdm
8344.5 In reply to 8344.4 
Hi AlexPolo.

Very interesting and smart idea... I never thought about it.

Thanks for sharing.

- Marco (mkdm)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All