mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2002
Posts: 483
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
In my mIRC folder I have one named data\ where I store all scripts and folders like logs\, download\ ect.

How can I change the location of channels\ and its content into $mircdir\data\channels. Same for control.ini. Move it all into data\

I like to keep a cleen look in the mircdir.

Any idea?

Joined: Dec 2002
Posts: 483
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
We can edit location of all files in mirc.ini, but not control.ini and channels-dir. Why not?

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
If you are referring to the Favorites as channels-dir, these are stored in the mirc.ini file under the heading of [chanfolder]

As to control.ini, to the best of my knowledge, you can change the location of this file conditional that there is a copy of mirc.ini in the same directory.

Joined: Dec 2002
Posts: 483
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
The folder channels is in mircdir, I want mirc to store it under mircdir/data/channels/. I cant find any spes for this in the mirc.ini file. The same for control.ini, you would think it should be stored under files like servers.ini.

[files]
servers=defaults\servers.ini
e.g.(what i need):control=defaults\control.ini

but it is not, I find this strange that we cant move this ini and this dir.

Joined: Dec 2002
Posts: 483
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
Any one?

Joined: Feb 2009
Posts: 133
C
Vogon poet
Offline
Vogon poet
C
Joined: Feb 2009
Posts: 133
can u explain more plz
u want to make a new channel list?

Last edited by chacha; 06/03/10 02:12 PM.

WorldDMT
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
No, he wants to move the channels folder and that ini file. I'm not sure how you'd edit the mirc.ini to change those locations and so far no one else seems to.


Invision Support
#Invision on irc.irchighway.net
Joined: Feb 2009
Posts: 133
C
Vogon poet
Offline
Vogon poet
C
Joined: Feb 2009
Posts: 133
yeah i see
if he have a channel list into some file he can put the channels into list channel of mIRC with an alias

Code:
alias wchan {
  var %x 1,%y $lines($1-)
  while %x <= %y {
    writeini $qt($scriptdirmirc.ini) chanfolder n $+ $(},%x) $read($1-,%x)
    inc %x
  }
}


so /wchan <your_file_dir_here>
e.g: /wchan $scriptdirNewChannels.txt

and you'll find the new channel list

but if he want to change the dir he cant bcz that into mIRC
mabe with a DLL he will

Last edited by chacha; 06/03/10 03:04 PM.

WorldDMT
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Originally Posted By: Deep3D
We can edit location of all files in mirc.ini, but not control.ini and channels-dir. Why not?


You can't edit the location of all files in mirc.ini. In fact, the only ones you can change are for locations to store and get files that aren't directly (or exclusively) controlled by mIRC. For instance, you can tell mIRC where to store downloaded files, logs, where to load (your) scripts-- because these are not "mirc only" files.

mirc.ini, control.ini and channels\ are "mirc only" files. They're files that only mIRC needs to control. You should not worry about where they are placed.

Realize that $mircdir is not for you to "mess with" or "clean up". It's meant to store application data used by the program. You don't go into your Firefox\profiles\ dir and start reorganizing all the files firefox uses there, do you?

Your files can co-exist in the $mircdir, but you're only meant to touch your files. Leave the mirc-only files alone.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"

Link Copied to Clipboard