WHat´s the easiest way to do a "DELETE BLK_*.tmp" in B+ ?

BlitzPlus Forums/BlitzPlus Programming/WHat´s the easiest way to do a "DELETE BLK_*.tmp" in B+ ?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Or even better... how can I get a list of all files in the current directory (the directory which the executable was invoked from)?


I think ReadDir command could help you; here's the link:

http://www.blitzbasic.com/bpdocs/command.php?name=ReadDir&ref=goto

To retrieve the current directory, use CurrentDir() command:

http://www.blitzbasic.com/bpdocs/command.php?name=CurrentDir&ref=2d_cat

Sergio.