So far so good! But what remains is still causing me some head scratching. It looks as if the file was generated by the prog and then written to the root directory. I cannot be 100% sure if the bootup issue was happening with the program still installed, but I tend to think it was as I think I went for the uninstall because of seeing the errant files - but I could be wrong.
But why on earth that particular file was being called up by other progs on bootup remains a mystery - perhaps a Windows quirk?
Any further thought from those in the know as to why that error text was placed in the root directory with the name 'program' would be gratefully received!!
DownloadStudio hasn't received particularly good reviews.
Spyware & malware have been mentioned:-
http://download.cnet.com/DownloadStudio/3000-2071_4-10266250.htmlI wonder if it (or some other program) unexpectefly runs programs at boot time?
This line here, is actually a line of code from HG612_stats.exe after the variables have been populated:-
19/02/2014 15:37:06.25 - In [HG612_stats.exe] - After ini_parse(). ERROR.LOG status = 0, Files (x86)\HG612_Modem_Stats\Ongoing_Stats\ERROR.LOG_file_ERROR.TXT
The actual code is:-
sprintf(Error_log_not_opened_command, "echo %%date%% %%time%% - In [HG612_stats.exe] - After ini_parse(). ERROR.LOG status = %d, >> %s\\ERROR.LOG_file_ERROR.TXT", Error_log_opened, config.Ongoing_Stats_folder);
system(Error_log_not_opened_command);
%s is the variable for the path to the Ongoing_Stats folder.
I have managed to recreate a file with no extension, containing the same format of details that you posted.
In your example, it appears that you had set up the programs in the folder named "Program Files (x86)" on one of your drives.
"ERROR.LOG_file_ERROR.TXT" is just a debugging file that will be removed in release 2.1
It is coded in such a way as to log details via a Windows system call as that's the only way to record details before the normal ERROR.LOG file is opened.
ERROR.LOG status = 0 means that ERROR.LOG hasn't been opened yet.
ERROR.LOG status = 1 means that ERROR.LOG has now been opened.
As updating the debugging file is just a temporary measure, I didn't bother to build in the code to use folder/file names that include spaces as the default location for the program folder is C:\HG612_Modem_Stats (no spaces).
I used a folder name of "HG612_Modem_Stats\
Ongoing Stats" (with a space in it to partially recreate the issue).
Once I remove creation of the debugging files, the rest of the programs can indeed use folders/files that include spaces in their names.
Because the folder "Program Files(x86)" has a space in its name, a file with no extension will be created using the first word in the folder name ("Program" in your case & "
Ongoing" in the example I used to create the issue).
My example text file with no extension, named "
Ongoing" contains this text:-
22/02/2014 18:53:30.18 - In [HG612_stats.exe] - After ini_parse(). ERROR.LOG status = 0,
Stats\ERROR.LOG_file_ERROR.TXT
Stats is the remainder of the folder name
Ongoing Stats (i.e. the part after the space).
So, I hope you could follow the above as it explains why you saw a file named
Program with no extension being created.
I'm afraid I have no idea why on earth something opens it on your desktop on bootup though.
I can only imagine something is running on your PC (maybe malware/spyware) that tries to run programs from your
Program Files(x86) folder at boot time.
Doing that is certainly not a "
feature" of any of my programs.
The only thing that runs automatically after booting up is the scheduled task & only then if it hasn't been disabled or deleted.
Are you
100% sure it (or maybe a task from a previous version of my programs) isn't still running?