Microsoft KB Archive/155317

= INFO: File Manipulation Commands Now Support MS-DOS Wildcards =

Article ID: 155317

Article Last Modified on 10/15/2003

-

APPLIES TO


 * Microsoft Visual FoxPro 5.0 Standard Edition
 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q155317



SUMMARY
The COPY FILE, ERASE, and DELETE FILE (file manipulation) commands now support the use of the MS-DOS wildcard characters.



MORE INFORMATION
MS-DOS uses two characters to represent wildcard characters in file names. The question mark (?) allows the substitution of any single character in its place in the file name. The asterisk character (*) allows the substitution of several characters within a file name. These wildcard characters make the Visual FoxPro file manipulation commands more flexible.

For example, the following command creates backup copies of all program files with a .prg extension in the current directory or folder:

COPY FILE *.PRG TO *.BAK

To erase backup files, issue the following command:

ERASE *.BAK

Keywords: kbinfo KB155317

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.