Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET PATH syntax
Message
De
21/01/2009 16:59:40
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
21/01/2009 15:23:24
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01375760
Message ID:
01376068
Vues:
22
>>Is this a valid command?
>>
>>SET PATH TO "C:\FMSDEV DEMOMAINT\IMAGES\";"C:\FMSDEV DEMOMAINT\LIBS\";"C:\FMSDEV DEMOMAINT\REPORTS\";"C:\FMSDEV DEMOMAINT\"
>>
>
>Replace ";" with ; in it and it will be. Commas work also - neither comma nor semicolon appear in regular paths, so they separate.
>
>However, think of maintenance - when (if) you revisit this command, you probably want to see what's in there and change something - add a path, remove or change a piece of it. I prefer doing it this way:
>
>SET PATH TO "C:\FMSDEV DEMOMAINT\IMAGES\"
>SET PATH TO "C:\FMSDEV DEMOMAINT\LIBS\" ADDITIVE
>SET PATH TO "C:\FMSDEV DEMOMAINT\REPORTS\" ADDITIVE
>SET PATH TO "C:\FMSDEV DEMOMAINT\" ADDITIVE
>
>First, you can find what you're looking for far easier, because it's lined up. Second, it's easy to copy a whole line, move it up or down, delete a line etc, no pesky mouse training on a particular place in a string.
>
>I fully expect that you will never show whether you noticed any of this, unless it's somewhat unsuitable, in which case you'll toss some snide remark and not even care whether it will be forgotten. The only reason you're getting answers is the interesting nature of your questions. I imagine if you had asked something that's been answered ages ago you would get no answer at all, or maybe one link to a message.

Interesting. Where did that come from?

Anyway, this was just a temporary PRG that I was using to test something. No real maintenance should be involved.

[Insert snide remark of your choosing here]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform