G
Guest
The problem symptoms are:
When an executable program is started from Windows Explorer (versus DOS
prompt), the spaces (if any) in the file path to the executable are
misinterpreted as (invalid) command line arguments/file names to open:
e.g. C:\Program Files\Microsoft Visual Studio .NET
2003\Common7\IDE\devenv.exe will WORK, but complains about not being able to
open files named:
a) Files\Microsoft
b) Visual
c) Studio
d) .net
e) 2003\Common7\IDE\devenv.exe
similar problems occurs with MS Office products, e.g. Outlook, Excel,
PowerPoint, as well as non Microsoft products, e.g. Adobe Reader, XML SPY
e.g.
a) Excel complains: "Files\Microsoft.xls could not be found"
b) PowerPoint complains: "the path or file name for C:\Program is invalid"
c) Outlook complains: "The command line argument is not valid"
d) XMLSpy complains: "Files\Altova\XMLSpy2005\XMLSpy.exe could not be opened"
Note as stated above that this problem does NOT occur if starting the
executable from a DOS prompt, or invoking a file of the file type associated
with that executable
Note also that copying the executable to a path with no embedded spaces also
solves the problem, e.g. C:\
Note for Visual Studio specifically, invoking devenv.com instead of
devenv.exe also solves the problem
Note also that some executables (e.g. sql server enterprise manager) have no
problems, perhaps because they don't expect/support command line arguments
? Related ? IE does NOT start with my home page: it tries to open:
http://files/Internet Explorer/iexplore.exe
Unistalling SP2 makes all these problems disappear
ReInstalling SP2 causes all these problems to re-appear
Un-Unistalling SP2 makes all these problems disappear again
When an executable program is started from Windows Explorer (versus DOS
prompt), the spaces (if any) in the file path to the executable are
misinterpreted as (invalid) command line arguments/file names to open:
e.g. C:\Program Files\Microsoft Visual Studio .NET
2003\Common7\IDE\devenv.exe will WORK, but complains about not being able to
open files named:
a) Files\Microsoft
b) Visual
c) Studio
d) .net
e) 2003\Common7\IDE\devenv.exe
similar problems occurs with MS Office products, e.g. Outlook, Excel,
PowerPoint, as well as non Microsoft products, e.g. Adobe Reader, XML SPY
e.g.
a) Excel complains: "Files\Microsoft.xls could not be found"
b) PowerPoint complains: "the path or file name for C:\Program is invalid"
c) Outlook complains: "The command line argument is not valid"
d) XMLSpy complains: "Files\Altova\XMLSpy2005\XMLSpy.exe could not be opened"
Note as stated above that this problem does NOT occur if starting the
executable from a DOS prompt, or invoking a file of the file type associated
with that executable
Note also that copying the executable to a path with no embedded spaces also
solves the problem, e.g. C:\
Note for Visual Studio specifically, invoking devenv.com instead of
devenv.exe also solves the problem
Note also that some executables (e.g. sql server enterprise manager) have no
problems, perhaps because they don't expect/support command line arguments
? Related ? IE does NOT start with my home page: it tries to open:
http://files/Internet Explorer/iexplore.exe
Unistalling SP2 makes all these problems disappear
ReInstalling SP2 causes all these problems to re-appear
Un-Unistalling SP2 makes all these problems disappear again