July 18, 201411 yr Bjoern, the line Core D = 6 = 00001000 should be Core D = 8 = 00001000, and from there on Core E = 16, Core F = 32, Core G = 64, Core H = 128. 6 in digital should be 00000110 and not 00001000 which is 8 Just cross-checked with a post on MSDN and you're right. Seems like the poster on StackOverflow got his numbers wrong. New numbers ("associated value" column): http://blogs.msdn.com/b/santhoshonline/archive/2011/11/24/how-to-launch-a-process-with-cpu-affinity-set.aspx 7950X3D + 7900 XT + 64 GB + Linux | 4800H + RTX2060 + 32 GB + Linux My add-ons from my FS9/FSX days
July 18, 201411 yr Excellent info in this thread ! Its good to see the "good old" DOS / Command Mode batch functions discussed as an option, as there is indeed a lot of control which can be achieved via these methods, especially when considering batched use of the: NET command: http://en.kioskea.net/faq/2421-windows-start-stop-a-service-via-the-command-prompt NETSH command: http://support.microsoft.com/kb/242468 Although quite a lot can be done via these do-it-yourself batch methods, IIRC, it was apparent during more far-reaching use of AlacrityPC to disable / re-enable selected Windows 'Services' (those not needed during MSFS sessions etc.), extensive testing was required to discover what procedures must be used to successfully control Services: * Knowing which Windows Services can be disabled * Knowing which Services are interdependent * Knowing which Services require a specific order for loading / termination * Knowing how long to wait for each Service to "end process" before disabling another ...Then: * Knowing which Services can be re-abled without re-starting Windows * Knowing which Services are interdependent * Knowing which Services require a specific order for re-loading * Knowing how long to wait for each Service to "initialize" before re-enabling another AFAIK, AlacrityPC provides "profiles" which incorporate proper sequenced controls of selected Windows services http://sourceforge.net/projects/alacritypc/ Also, AlacrityPC itself can be started via a batch routine from the command line: "How can I launch a profile programmatically (for example, from a script?) You can launch a profile by starting the program 'alacritypccontrol.exe' located in the folder where you installed AlacrityPC with the following command line: alacritypccontrol.exe -p profile_filename The profile_filename does not have a path, just the filename." NOTE: "Profiles" must be in AlacrityPC Profiles folder located in [Windows user account name]\Documents. http://sourceforge.net/p/alacritypc/wiki/FAQ/ Hope this helps ! :smile: GaryGB
December 28, 20169 yr Old thread but I have a newbie question. What happens when the exe file has spaces? (AS Cloud Art.exe) Tried quotes but didn't work.
Archived
This topic is now archived and is closed to further replies.