Andrew,
Check the Shares properties as well as the Admin rights of the folder. Many
people overlook the admin rights and ownership and in may cases are not
aware they even exist, thinking they are the same. They are not.

Dave Crozier
 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Andrew Stirling
Sent: 2009-01-29 12:38
To: [email protected]
Subject: Re: Error #202 Invalid path or file name

Thanks Vassilis,Alan,Chrisof

The application is my own.
he is working on XP Pro SP3
The defaults are
c:\calcpay\pay08_09\calcpay09.exe
beneath this is the company folders with the data, comp1,comp2 etc
also beneath is an 'output' folder where the more experienced users can 
use to save one off reports in PDF,CSV,XLS etc.
I got him to reinstall the program & runtime files (all on the 
c:\calcpay\pay08_09\ folder)
He can now save to the default folder c:\calcpay\pay08_09\output with 
the correct extension, but when he tries to save to the folder he wants 
the error comes up.
I do not use macro-substitution to save the file path & name.

My backup system which he has set up to a shared folder also uses the 
PUTFILE to get the file folder/name.zip. This works fine.

He has updated from sp2 to sp3. The problem may have started happening 
when he did this.
He is knowledgeable re IT matters.

None else has informed me of this error, but that may well be because 
this option in my product is rarely used and/or few will have updated to 
sp3.

I will send your comments to him & await a reply.

Thanks again.

Andrew Stirling
01250 874580
http://www.calcpay.co.uk
HMRC Accredited UK payroll program


Christof Wollenhaupt wrote:
> Hi Andrew,
> 
>> If he brings up the 'Save As' option it errors as above.
> 
> Aside from blanks in the path name another common cause for this error is
> when one of the directories in the chain is either hidden or has the
system
> attribute set. Some functions in VFP validate the path by checking the
> existence every single directory. Those fail when one them is hidden. Not
> all file functions in VFP are affected by this, though.
> 
Alan
What is he trying to save and from which application?

Can he locate that folder via Windows and say create a new file in it?
That will tell you if it's a permissions issue. Being an admin doesn't
guarantee access to all folders but will allow you to grant access to
yourself if you don't have it.

Vassilis
Try to save in c:\ or try to save in a location where the full path string
doesn't contain any spaces.
if your save succeeds check your code for a macro-substitution of the
destination path string.


[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/8a8bc1752cf2456db053be9abdbec...@develop
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to