Page 1 of 1

[FIXED] Error in Application_Startup

Posted: Sun Sep 24, 2017 10:11 am
by koma77
I've installed Command from Steam and have run it frequently and for a long time.

Since yesterday it refuses to start, giving me an error message: "Error found during application startup", complaining that it cannot find the path: ...steamapps\common\Command Modern Air Naval Operations\Temp\instance

I've verified the integrity of the installation through Steam.

What can I try?

RE: Error in Application_Startup

Posted: Sun Sep 24, 2017 10:19 am
by koma77
Ok, replying to myself since I realize what has caused this and it may be helpful to others.

Yesterday I ran a Windows 10 built-in disk "cleaner" which removes unused files. Microsoft calls it something fancy that I do not remember now. I was getting low on available disk space.

Apparently this tool scans the HDD and removes anything that resembles a temporary file, for example the Command folder called "Temp", hence the problem.

So, there are two things here which could be made better:

1) The Microsoft Windows tool should not blindly remove things based on the name including the word "Temp".
2) Command should be able to create a temporary folder if needed.

RE: Error in Application_Startup

Posted: Mon Sep 25, 2017 4:18 am
by Dimitris
Thanks, that's a pretty useful observation!

Added a check-and-create clause for the temp directory.

RE: Error in Application_Startup

Posted: Mon Sep 25, 2017 2:36 pm
by koma77
Wow, that was fast - impressive! Thank you!