Hi David,
>I'd like to be able to programattically do some of the following basic windows file op's in VFP.
>
>1. Set/Reset the file's read-only attribute
Need the API or WSH.
>2. Copy a file from here to there
COPY FILE (sourcefile) TO (destination)>3. Move a file from here to there
RENAME (original file) TO (new location and name)>4. Rename a file
RENAME (original name) TO (new name)>5. Create a new directory
MD (foldername)>6. Delete a file
ERASE (filename)Cheers,
Andrew
If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?
From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."
All my FoxTalk and other articles are available on my
web site.
Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.