![]() |
#1 |
Junior Member
Join Date: Oct 2010
Posts: 2
|
Location of Main.Dat
On my work computer I have limited profile space.
The main.dat file in application data takes up a significant portion of this space. Is it possible to move the location of this file (and adjust path settings accordingly)? |
![]() |
![]() |
![]() |
#2 |
Techorator
Winamp & Shoutcast Team Join Date: Jun 2000
Posts: 36,136
|
Hi
Yes. You can manually edit the paths.ini file (in %ProgramFiles\Winamp folder) and point inidir= to any folder of your choice The default location is: inidir={26}\Winamp where {26} is equivalent to %AppData% Make sure winamp is closed before editing paths.ini Then just move all the files from %AppData%\Winamp to the new folder..... |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Oct 2010
Posts: 2
|
Awesome. Thanks, didn't think it would be so easy. I search for a solution but must have been using the wrong terms.
|
![]() |
![]() |
![]() |
#4 |
Junior Member
Join Date: Jun 2013
Posts: 4
|
This (old) thread (that I'm about to resurrect) answered my question as to how to find the main.dat file. However, I'm not quite sure how to translate {26} to %AppData%. Is this some kind of Windows standard or is it just a magic token used by Winamp? I'd like a good understanding of this because there's always a chance {26} might one day change to {42} or whatever and I'd like to handle that properly. Any ideas?
|
![]() |
![]() |
![]() |
#5 |
Techorator
Winamp & Shoutcast Team Join Date: Jun 2000
Posts: 36,136
|
26 is the universally recognized CSIDL for AppData
I doubt that will ever change The full SpecialFolderPath list can be found here: http://wiki.tcl.tk/17492 Note that you can specify a direct path, eg. inidir=X:\Winamp\Settings or whatever You can also type %appdata%\winamp into the Explorer address bar or Start->Run and hit Enter. Or to go to the default folder where main.dat is stored = %appdata%\winamp\plugins\ml |
![]() |
![]() |
![]() |
#6 |
Junior Member
Join Date: Jun 2013
Posts: 4
|
Ok, cool. So I should interpret anything between the curly braces as a CSIDL value. Got it. Thanks!
|
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|