Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with the directory command
Message
From
17/08/2010 18:03:05
 
 
To
17/08/2010 17:50:16
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01476908
Message ID:
01476926
Views:
45
This message has been marked as a message which has helped to the initial question of the thread.
>what are the attributes of and permissions to that directory? If you start VFP as administrator do you see it then?
>
>>It's really weird. I'm tracing the program and
>>
>>IF NOT DIRECTORY('C:\ProgramData')
>> ** it goes there
>>
>>...
>>
>>Sure, I have c:\ProgramData folder so why DIRECTORY command is failing?
>>
>>=MESSAGEBOX(DIRECTORY('c:\ProgramData'))
>>
>>returns .F.
>>
>>I'm using Windows 7 64.
>>
>>----------------------------

Hi,

Try with parameter:

=Messagebox(Directory('C:\ProgramData',1))

and are you 100% sure the spelling is correct?

Try: cd c:\ProgramData

Regards,

Koen
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform