Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with the directory command
Message
De
17/08/2010 18:03:05
 
 
À
17/08/2010 17:50:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01476908
Message ID:
01476926
Vues:
46
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform