NT Application Starting Problem

Hello All,

I have a problem with my Services program in the Control Panel in NT
machine. Suddenly it stops recognizing directories with space characters in
between. (IT was OK and all of a sudden it stops ) Hence I am not able
start any services under the directories which have spaces in between them
(E.g.: Program Files) from the control panel.

If you start it will say “%1 is not a Valid NT Application”.

I found that this problem can be avoided by using g char equivalent dir
names in the registry. Like mention your service path as
“c:\progra~1\myservice.exe” instead of “c:\program files\myservice.exe” in
the registry.

Once this problem occurs the NT Services program thinks c:\Progra is the
name of my service and reports it is not a valid NT application.

Not only Services If I double click any access database it says same thing.
Where as I am able to open access and open the database.

How to fix this error and how to make my NT machine work normally where in
it can recognize directories with spaces in between their names.

Thanks very much for any help or leads.

Siva

Surround the filename in quotes.

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com

-----Original Message-----
From: Sivaselvam C N [mailto:xxxxx@teil.soft.net]
Sent: Friday, September 29, 2000 9:40 AM
To: NT Developers Interest List
Subject: [ntdev] NT Application Starting Problem

Hello All,

I have a problem with my Services program in the Control Panel in NT
machine. Suddenly it stops recognizing directories with space characters in
between. (IT was OK and all of a sudden it stops ) Hence I am not able
start any services under the directories which have spaces in between them
(E.g.: Program Files) from the control panel.

If you start it will say “%1 is not a Valid NT Application”.

I found that this problem can be avoided by using g char equivalent dir
names in the registry. Like mention your service path as
“c:\progra~1\myservice.exe” instead of “c:\program files\myservice.exe”
in the registry.

Once this problem occurs the NT Services program thinks c:\Progra is the
name of my service and reports it is not a valid NT application.

Not only Services If I double click any access database it says same
thing. Where as I am able to open access and open the database.

How to fix this error and how to make my NT machine work normally where in
it can recognize directories with spaces in between their names.

Thanks very much for any help or leads.

Siva

Hello Paul,

Thanks very much for the tip. I believe it will definitely solve my problem
with NT Services though it will not help me solve other problems. Like if I
double click the file say c:\program files\myfile.mdb it says the command
line I used to start ACCESS contains an option that ACCESS does not
recognize. My NT thinks C:\Progra is the database name and files\myfile.mdb
is command line option.

Thanks very much once again!

Siva

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Paul Bunn
Sent: Friday, September 29, 2000 10:14 PM
To: NT Developers Interest List
Subject: [ntdev] RE: NT Application Starting Problem

Surround the filename in quotes.

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com

-----Original Message-----
From: Sivaselvam C N [mailto:xxxxx@teil.soft.net]
Sent: Friday, September 29, 2000 9:40 AM
To: NT Developers Interest List
Subject: [ntdev] NT Application Starting Problem

Hello All,

I have a problem with my Services program in the Control Panel in NT
machine. Suddenly it stops recognizing directories with space characters in
between. (IT was OK and all of a sudden it stops ) Hence I am not able
start any services under the directories which have spaces in between them
(E.g.: Program Files) from the control panel.

If you start it will say “%1 is not a Valid NT Application”.

I found that this problem can be avoided by using g char equivalent dir
names in the registry. Like mention your service path as
“c:\progra~1\myservice.exe” instead of “c:\program files\myservice.exe”
in the registry.

Once this problem occurs the NT Services program thinks c:\Progra is the
name of my service and reports it is not a valid NT application.

Not only Services If I double click any access database it says same
thing. Where as I am able to open access and open the database.

How to fix this error and how to make my NT machine work normally where in
it can recognize directories with spaces in between their names.

Thanks very much for any help or leads.

Siva


You are currently subscribed to ntdev as: xxxxx@teil.soft.net
To unsubscribe send a blank email to $subst(‘Email.Unsub’)