How does the windows file system works? [closed] - windows

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I am working on a project that uses a filesystem and I'm having some problems integrating with Windows.
I need help understanding how the Windows file system works.

Which Windows? The file system used by DOS and Windows up to Win98 (if I am not mistaken) is FAT. It is still widely used e.g. by memory cards, digital cameras etc. Windows NT and later Windows versions however use NTFS.
You may start reading about FAT and NTFS on Wikipedia.

You probably mean NTFS. Then the best reference is http://www.ntfs.com/
A friend of mine started implementing a defragmenter based on that information and it appears to work properly. That means the info from that site seems reliable.

Related

How hard is it to control laptop's battery charge or to limit? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 months ago.
Improve this question
I wonder if it is possible to write a program which would limit the battery charge of a laptop. I know some manufacturers like Asus, Lenovo etc. have such build-in software, but I am curious if anyone had tried creating a universal software for that and if you would share some starting points. Not sure if that is even possible since I am unable to find such software. Thanks!
There is an almost generic tool for Linux: TLP. You find it's homepage (including a link to the source code) on https://linrunner.de/tlp/. It works as power saving utility and also can adjust the battery charge levels, BUT that feature is only for ThinkPads.
To my knowledge there is no universal interface to set the charge levels of laptop batteries, so a generic utility would have to know all that vendor specific settings probably.
A short research showed, that Linux supports more than Lenovo inside some kernel drivers, so maybe that code could help you to also write software for a different OS. My advice would be to research the possibilities for Linux to then think about a generic utility for another operating system.

Application-Based Operating System...? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
So I wanted to create an operating system that was Purely for running a windows application. Is there any way to do this, and what is the name of an application-based operating system?
This application doesn't import to any place like appdata, program files (program files x86) or any %windir% directory, it just stays in the folder with the .exe
UPDATE
Do NOT just say "OH IT'S SOOO HARD DON'T DO IT" I need a program (That makes an OS) that can be based off of an application.
I don't think you really want to build your own operating system. There's already an operating system called ReactOS that's pretty much what you're looking to build.
Just to reemphasize that creating an operating system isn't easy (especially one that runs Windows applications), ReactOS development started in 1998 and they're still in alpha stage.
If you still want to have a crack at it, I would recommend having a look at OSDev, Wine source code and ReactOS source code.
Have you considered perhaps making a minimalistic Linux distro that contains the minimum number of programs needed to start up Wine and the Windows application you need?

Understanding Windows application footprint [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Just wondering if anyone could point me in the right direction for documentations that specifies what a Window application's file footprint is?
More specifically, I am looking for a documentation that specifies what registry files (and which hive) and files/directories must be created when an application is installed.
#Raymond Chen is totally right, however, there are some pretty common places to put things in the registry\file system based on the programs needs. I.E. Does it start on login or start up? It really depends on how the program interfaces with Windows. Hopefully that points you in the right direction.

Handling files in Windows like on the Mac [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
It can this is a silly question, but is it possible to handle files on Windows (XP, Vista or 7) like on the Mac?
I clarify: on the Mac you can rename or move a file even if it is currently used by an application, on Windows you simply cannot! There is a way to change this behavior with some black magic on the Registry?
If you are interested You can read about File locking and specific implementations in Windows and Mac here
http://en.wikipedia.org/wiki/File_locking
I use unlocker to get around this problem in Windows. It's quite handy
http://www.emptyloop.com/unlocker/
No, there is no builtin solution to your problem and I haven't heard of any tool accomplishing that.
It's not possible because the file handling is done in a different way, which is also strongly influenced by the features of the different filesystems.

What is iTunes for Windows written of? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I was wondering it for a long time since Apple released iTunes for Windows. What did they use to write iTunes for Windows? It seems completely with its own UI components and everything is contained inside it. It even uses QuickTime resources files. Can we assume that they've Cocoa working with windows. Anyway, my main question is, is there any known (public or private) tool/language/framework used in developing iTunes for Windows?
Not a direct answer, but if the reason you're asking is that you want to port a cocoa application to Windows, you might be interested in this:
http://code.google.com/p/cocotron/
bit more info here:
http://cocoawithlove.com/2010/04/design-of-multi-platform-app-using.html
http://cocoawithlove.com/2010/04/porting-mac-program-to-windows-using.html
Haven't used it myself, but I gather they've got enough done to make a useable cross-platform Cocoa app.
itunes for both mac and windows are written in c++ as it is easier to port between operating systems with much or the same codebase

Resources