Portable version?
Moderators: Hacker, petermad, Stefan2, white
Portable version?
I like TC very much but I really miss is a portable version which could be run from an SD card without requiring installation through ActiveSync and wouldn't write anything to the registry. Such a version wouldn't lose its settings on devices which reset the registry when they are reset.
Thank you for a great program.
Thank you for a great program.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Unfortunately there is no support for ini files on Windows Mobile, so I had to use the registry, sorry.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: .ini files
I currently have two third-party apps using .ini files on my WM5 device: The portable e-mail client nPOPuk writes nothing to the registry, and doesn't even use an installer. It stores its .ini file wherever the user places the executable.
The utility gsgetfile.dll saves the last open path in gsGetFileName.ini right in the \Windows directory.
The text editor cke doesn't need the registry, either, but uses a different approach: The settings are written to cke.opt in the program directory. Some apps do the same thing using .dat or .cfg files.
The utility gsgetfile.dll saves the last open path in gsGetFileName.ini right in the \Windows directory.
The text editor cke doesn't need the registry, either, but uses a different approach: The settings are written to cke.opt in the program directory. Some apps do the same thing using .dat or .cfg files.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I wanted to keep the program as small and simple as possible, so I tried to rely wherever possible on functions of the operating system:
1. The registry for settings
2. A standard ListView for file lists
3. CopyFile and CopyFileEx for copying
etc. etc.
1. The registry for settings
2. A standard ListView for file lists
3. CopyFile and CopyFileEx for copying
etc. etc.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I say why need inifile.woefdram wrote:I'm wondering: why would you need "Windows .ini support"?
The program could just parse the ini file itself couldn't it? Or use a language feature like you can do in Python with Configparser and such... no Windows features involved.
I use TC on PND where registry read-only.
All settings after reboot lost.
Me also need inifile for store settings.