By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,219 Members | 2,361 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,219 IT Pros & Developers. It's quick & easy.

Why is my Executable recognized with 'DOS style' name

P: n/a
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
Nov 20 '05 #1
Share this Question
Share on Google+
10 Replies


P: n/a
* "Shrage H. Smiloitz" <mi***********@hotmail.com> scripsit:
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?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
<URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 20 '05 #2

P: n/a
WinXp

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:ec**************@TK2MSFTNGP09.phx.gbl...
* "Shrage H. Smiloitz" <mi***********@hotmail.com> scripsit:
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?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
<URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 20 '05 #3

P: n/a

"Shrage H. Smiloitz" <mi***********@hotmail.com> wrote in message
news:eV**************@TK2MSFTNGP12.phx.gbl...
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?
Nov 20 '05 #4

P: n/a
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

"Jeff Johnson [MVP: VB]" <i.***@enough.spam> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...

"Shrage H. Smiloitz" <mi***********@hotmail.com> wrote in message
news:eV**************@TK2MSFTNGP12.phx.gbl...
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?

Nov 20 '05 #5

P: n/a

"Shrage H. Smiloitz" <mi***********@hotmail.com> wrote in message
news:OQ**************@tk2msftngp13.phx.gbl...
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)?
Nov 20 '05 #6

P: n/a
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 [MVP: VB]" <i.***@enough.spam> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...

"Shrage H. Smiloitz" <mi***********@hotmail.com> wrote in message
news:OQ**************@tk2msftngp13.phx.gbl...
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)?

Nov 20 '05 #7

P: n/a

"Shrage H. Smiloitz" <mi***********@hotmail.com> wrote in message
news:uy**************@TK2MSFTNGP12.phx.gbl...
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?
Nov 20 '05 #8

P: n/a
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? :-)

"Jeff Johnson [MVP: VB]" <i.***@enough.spam> wrote in message
news:uD**************@TK2MSFTNGP12.phx.gbl...

"Shrage H. Smiloitz" <mi***********@hotmail.com> wrote in message
news:uy**************@TK2MSFTNGP12.phx.gbl...
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?

Nov 20 '05 #9

P: n/a
What is if it was via a shortcut?

"Jeff Johnson [MVP: VB]" <i.***@enough.spam> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...

"Shrage H. Smiloitz" <mi***********@hotmail.com> wrote in message
news:OQ**************@tk2msftngp13.phx.gbl...
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)?

Nov 20 '05 #10

P: n/a

"Shrage H. Smilowitz" <mi***********@hotmail.com> wrote in message
news:Oj**************@TK2MSFTNGP11.phx.gbl...
What is if it was via a shortcut?


I would say check the Target box of the shortcut to see if the short name
was being specified there.
Nov 20 '05 #11

This discussion thread is closed

Replies have been disabled for this discussion.