Why is my Executable recognized with 'DOS style' name

  • Thread starter Thread starter Shrage H. Smiloitz
  • Start date Start date
S

Shrage H. Smiloitz

Hi,
My application name is called Bookeeper and the exe file name is
Bookeeper.exe, on one specific computer the system recognizes the
application file name as something like Book~01.exe, and because of that the
system dosnt recognize the config file which is Bookeeper.exe.config i have
to change it to Book~01.exe.config than it works.

Can somebody explain what cuases for that computer to behaive like that.

Shrage
 
* "Shrage H. Smiloitz said:
My application name is called Bookeeper and the exe file name is
Bookeeper.exe, on one specific computer the system recognizes the
application file name as something like Book~01.exe, and because of that the
system dosnt recognize the config file which is Bookeeper.exe.config i have
to change it to Book~01.exe.config than it works.

What Windows version does this system have installed?
 
My application name is called Bookeeper and the exe file name is
Bookeeper.exe, on one specific computer the system recognizes the
application file name as something like Book~01.exe, and because of that the
system dosnt recognize the config file which is Bookeeper.exe.config i have
to change it to Book~01.exe.config than it works.

What is "recognizing" the file name as Book~01.exe? Is it a shortcut?
 
The first simptum was that, the application was echoing an error that it
does't find any of my settings in my config file, i then checked if the
systems looks for my config File and found out that instead of looking for a
config file called Bookeeper.exe.cofig it looks for a file
book~01.exe.cofig, i then inserted a line of code in the application:
messagebox.show(application.executablepath) and got [path]\Book~01.exe, i
also opend the Microsoft .NET Framework 1.1 Configuration tool in control
panel and checked for the list of application and it shows my bookeeper
application as Book~01.exe. Note: this is only happanig on one specific
computer all other computer its workig fine.

Shrage
 
The first simptum was that, the application was echoing an error that it
does't find any of my settings in my config file, i then checked if the
systems looks for my config File and found out that instead of looking for a
config file called Bookeeper.exe.cofig it looks for a file
book~01.exe.cofig, i then inserted a line of code in the application:
messagebox.show(application.executablepath) and got [path]\Book~01.exe, i
also opend the Microsoft .NET Framework 1.1 Configuration tool in control
panel and checked for the list of application and it shows my bookeeper
application as Book~01.exe. Note: this is only happanig on one specific
computer all other computer its workig fine.

Again I ask: How is the program being started? Are you double-clicking on it
from Explorer? Are you using a shortcut (either on the desktop or the Start
menu)?
 
I open it using explorer, I also mentioned that even in the Microsoft .NET
Framework 1.1 Configuration tool in control panel it is displayed
book~01.exe

Jeff Johnson said:
The first simptum was that, the application was echoing an error that it
does't find any of my settings in my config file, i then checked if the
systems looks for my config File and found out that instead of looking
for
a
config file called Bookeeper.exe.cofig it looks for a file
book~01.exe.cofig, i then inserted a line of code in the application:
messagebox.show(application.executablepath) and got [path]\Book~01.exe, i
also opend the Microsoft .NET Framework 1.1 Configuration tool in control
panel and checked for the list of application and it shows my bookeeper
application as Book~01.exe. Note: this is only happanig on one specific
computer all other computer its workig fine.

Again I ask: How is the program being started? Are you double-clicking on it
from Explorer? Are you using a shortcut (either on the desktop or the Start
menu)?
 
I open it using explorer, I also mentioned that even in the Microsoft .NET
Framework 1.1 Configuration tool in control panel it is displayed
book~01.exe

Okay, I have to ask this: when you browse to the folder where your program
lives, does Explorer show it as Bookeeper.exe?

And have you tried removing it from the configuration tool and re-adding it?
 
Explorer shows bookeeper.exe, i have several copies of the same file and the
configuration tool alays recognizes it as book~01.exe, is't it funny? :-)
 
What is if it was via a shortcut?

Jeff Johnson said:
The first simptum was that, the application was echoing an error that it
does't find any of my settings in my config file, i then checked if the
systems looks for my config File and found out that instead of looking
for
a
config file called Bookeeper.exe.cofig it looks for a file
book~01.exe.cofig, i then inserted a line of code in the application:
messagebox.show(application.executablepath) and got [path]\Book~01.exe, i
also opend the Microsoft .NET Framework 1.1 Configuration tool in control
panel and checked for the list of application and it shows my bookeeper
application as Book~01.exe. Note: this is only happanig on one specific
computer all other computer its workig fine.

Again I ask: How is the program being started? Are you double-clicking on it
from Explorer? Are you using a shortcut (either on the desktop or the Start
menu)?
 
Back
Top