File Not Found

Never4Get

Registered User.
Local time
Today, 07:59
Joined
Aug 24, 2001
Messages
14
I'm desperately looking for a solution to the following problem:

In my application I open several reports in another application. These reports however can't be opened if the pathname contains blanks. The program opens, but then an error message appears: "File Not Found".

The statement looks like this:
stAppName = "c:\Program Files\Seagate Software\Crystal Reports\crw32.exe c:\crystal\New Weave\Meubelstoffen.rpt"

When I replace "c:\crystal\New Weave\Meubelstoffen.rpt" with "c:\crystal\New_Weave\Meubelstoffen.rpt"
the report does open.

Changing the directory name solves the problem for me, but I have to install the same application on several other machines where the files MUST BE stored in the directory "Documents And Settings". Don't ask me why they need to be stored there...
Orders from the boss!!!

If anyone knows how to deal with those white spaces, please let me know. Again, my deadline is coming...

Thanks in advance
 
Don't bother. I got around the problem by using the old DOS-names for the directories.

Yet, if someone has a better idea, it would be appreciated.
 

Users who are viewing this thread

Back
Top Bottom