Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File functions
Message
De
11/12/1998 11:38:12
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00166520
Message ID:
00166613
Vues:
17
Hi Joe,
VFP adir() can get subdirs when 3rd parameter used ("D"). Somewhere on my disk there is a RemoveTree() function pure VFP. I'll check it for you Michelle but not sure if I'll ever find it again.
Cetin

>What do you mean by "manually"?
>
>You can do this in a DOS batch file if you like...
>
>Joe
>
>>That's more in depth than I want to get. I don't know how to get subdirectories. There's no user interaction. I just need to back up the dir and delete it. I don't need anything from the user.
>>
>>If no one has anything, I guess I'll just do it manually.
>>
>>Thanks,
>>
>>-Michelle
>>
>>
>>>You could do everything you want to do with DOS commands I guess. Combined with some VFP commands...you could write your own class.
>>>
>>>I actually have a question: VFP has a DIR command, but it doesn't list subdirectories. Do you know how to list subdirectories with a VFP command?
>>>
>>>I know how to get around this with DOS commands and then parsing a text file, but I am wondering if there is something similar.
>>>
>>>I don't know how much control you want the user to have. FILER gives the user a lot of control I think...I haven't looked into it too much though...
>>>
>>>
>>>Joe
>>>
>>>
>>>>Does anyone have a class/program/whatever for handling things like deleting files and such?
>>>>
>>>>I need to copy a directory with files and other directories to a backup directory, then delete the dir and all the stuff in it. I can do it by going to each directory and deleting and then removing each dir, but I was hoping there was a simpler way.
>>>>
>>>>No luck finding such a thing in the files section.
>>>>
>>>>Thanks,
>>>>
>>>>-Michelle
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform