mIRC Home    About    Download    Register    News    Help

Print Thread
#223206 18/07/10 11:08 AM
Joined: Sep 2007
Posts: 202
F
firefox Offline OP
Fjord artisan
OP Offline
Fjord artisan
F
Joined: Sep 2007
Posts: 202
I run 3 mirc's (because I like to keep eachs scripts etc. separate)

I am still using an old version of mirc which doesn't store the settings inside the users folder but in the same folder as mirc

If I upgrade to the latest version of mirc and want to have it in 3 separate folders each with all of it's scripts and settings in the same folder rather than in windows user folder:

- do I just need to append -r to the commandline or do I need to explicitly mention the path i.e. -rC:\mirc1 ?
- does this automatically set all config and scripts folders to this path
- using -portable is the same as -r ?

edit: does using -r set $mircdir to the current folder?

Last edited by firefox; 18/07/10 11:22 AM.
firefox #223207 18/07/10 11:42 AM
Joined: Jun 2007
Posts: 933
5
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
You don't have to change anything.
When mIRC finds mirc.ini in the same folder as mirc.exe it will use that as $mircdir (assuming it's not in Program Files under Vista or 7 of course).

firefox #223319 21/07/10 05:05 AM
Joined: Apr 2010
Posts: 969
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 969
or use the -portable switch.(7.* only)
Code:
 /run path\mirc.exe -portable

edit the shortcuts to include the switch, and mIRC will use $mircexe as it's root directory.


I am SReject
My Stuff
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
-portable is not 7.x only, it should work in 6.35 as well.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
argv0 #223333 21/07/10 09:54 AM
Joined: Sep 2007
Posts: 202
F
firefox Offline OP
Fjord artisan
OP Offline
Fjord artisan
F
Joined: Sep 2007
Posts: 202
ok thanks guys


Link Copied to Clipboard