Home > OS > How to determine the current operating system is PE operating system or normal operating system?
How to determine the current operating system is PE operating system or normal operating system?
Time:09-17
Want to write a Windows program function, role is currently running under the operating system is PE operating system or the normal operating system? Do you have such a Windows API function?
CodePudding user response:
Query SystemDrive or windir environment variables, WinPE seemed to conventions are set in the X: dish, ordinary Windows should be in the C: disk.
CodePudding user response:
1, PE is not a system, it is Microsoft released on July 22, 2002, with the minimum Win32 subsystem, limited service based on Windows XP Professional to protect mode, the 2, the use of Windows PE major environment is a virtual machine, virtual machine environment almost no difference with the actual PC environment, 3, PE is run in fully read into memory, the greater the memory, the faster the speed, the system almost all need to run in the hard disk, 4, so, PE is just a tool not a system