File Manipulation Commands Now Support MS-DOS WildcardsLast reviewed: January 10, 1997Article ID: Q155317 |
The information in this article applies to:
SUMMARYThe COPY FILE, ERASE, and DELETE FILE (file manipulation) commands now support the use of the MS-DOS wildcard characters.
MORE INFORMATIONMS-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 5.0 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 *.BAKTo erase backup files, issue the following command:
ERASE *.BAK |
KBCategory: kbprg kbother kbdisplay kbenv
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |