MDelete { remotefile [remotefile...]}
This is a library file system example in NAMEFMT 0:
MDELETE MYLIB/FILE1.MBRA YOURLIB/FILE2.MBRB
This deletes member MBRA in file FILE1 in library MYLIB and member MBRB in file FILE2 in library YOURLIB on a remote iSeries server. The same example in NAMEFMT 1:
MDELETE /QSYS.LIB/MYLIB.LIB/FILE1.FILE/MBRA.MBR /QSYS.LIB/YOURLIB.LIB/FILE2.FILE./MBRB.MBR
This is a document library system example in NAMEFMT 1:
MDELETE /QDLS/QIWSOS2/PCSMENU.EXE /QDLS/PCSDIR/PCSFILE.EXE
This deletes document PCSMENU.EXE in folder QIWSOS2 in the document library services library, and also deletes PCSFILE.EXE in folder PCSDIR in the QDLS library on an iSeries.
You can use an asterisk (*) to delete the files generically. For example with NAMEFMT 0, if the remote system is an iSeries, type:
MDELETE MYLIB/MYFILE.*
This example would delete all members of file MYFILE in library MYLIB. Use of the asterisk is only valid at the end of a character string.