Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Make directory
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00387484
Message ID:
00387516
Vues:
14
Dear Ed:

I was looking for some info on WSH but where is some?
The info on the MS web site was sketchy and abstract.
Like where is there a listing of commands?

Bruce Strom



>>All:
>>
>>I had written a routine that creates dozens of subdirectories. It works fine on my computer but not on the clients computer. On the clients computer they get an API error and it crashes. A possible source of error is they had a FILES = 200 statement, with the spaces, which could mean that the files weren't reserved properly.
>>
>
>Removing both spaces on either side of the = is necessary to get it to work.
>
>I use the internal MKDIR in VFP6 without trouble; some things to watch for:
>
>(1) If you create directories off the root, you may run into the limit of the number of diectory entries in the root of the drive. Subdirectories are not subject to this knid of limitation.
>
>(2) VFP native directory manipulation sometimes has problems if an intermediate directory has the System property set. Using the Scripting,FileSystemObject rather than the native VFP.FoxTools functions will get around this,
>
>(3) If you are attempting to create a subfolder, the name of the subfolder must not conflict with a file name in that directory, IOW, if the file C:\MyDir\Temp exists, you cannot create a folder named C:\MyDir\Temp.
>
>(4) Ensure that the user has create privileges in the intervening directories - this is especially an issue in WinNT/Win2K environments where not all users have rights to all local resources.
>
>There's no need for the FoxTools functions; they're native in VFP5/6, and you can also use the Win32 API or Scripting.FileSystemObject to do thye same things.
Bruce Strom

Prayer of St Ephrem:
O Lord and Master of My Life,
Take from me the spirit of sloth, meddling, ambition and vain talk.
But give me a spirit of prudence, humility, patience and love.
Yes Lord and King grant me to see my own sins and faults
and not judge my brother.
For You are Blessed Forever and Ever. Amen.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform