prime wrote:Hi all,
I'm playing round with QPC2, and managed to fill up the boot win file with part of the SMSQ/E source which I'd like to delete, is there an easy way of deleting a directory and sub-directories sorta like deltree in dos / windows or rm -r in Linux / Unix ?
I tried wdel foldername_ and it asked me if I wanted to do it but seemed to do nothing, and returned no error
Cheers.
Phill.
This is a problem I used to get. A directory cannot be deleted unless it's empty, so you have to go through directories individually emptying them, then they'll delete in the usual way with DELETE or whatever.
If you have the Phil Borman WD_ extensions (they were supplied with the Qubide utilities disk, or you can get them from the Toolkits page on my website
http://www.dilwyn.me.uk/tk/wd.zip ) you can use WDDEL from the WD_BIN extensions file to wildcard delete every file in the named directory and sub-directories, but be careful, it's all too easy to wipe an entire drive with this by accident! e.g. WDDEL WIN1_ will offer to delete the WHOLE of WIn1_, while WDDEL WIN1_QUILL_ would delete all files in WIn1_Quill_
plus all files in all sub-directories.
Another way in theory (not actually tried this) is to use the QPAC2 files menu to display the TREE of files F3, Tree) for the directory in question, then Delete to delete those highlighted files. Once the files have been deleted, you should then be able to do the same for directories. NOTE: I've never actually tried this for real!