[Fixed] The usage of the FileDelete with *.* wildcards
Posted 15 March 2010 - 08:01 PM
Why does this command erase if there are subdirectories of destination folder ? Nevertheless, I only want the files in the destination folder to be deleted.
Posted 15 March 2010 - 08:36 PM
This line of Multi7 project is supposed to copy all .exe files from boot.wim windows to target windows folder
FileCopy,"%bw%\*.exe","%tw%\"but it also creates sub folders and files in winsxs directory.
Posted 15 March 2010 - 09:20 PM
I found the solution of yours
sorry, norec is not available with filedelete
Posted 15 March 2010 - 09:25 PM
I already complained about this back then, but because the behaviour was already heavy in use, Peter did not wanted to change it, so that non recursive would have been default again.
Posted 15 March 2010 - 10:02 PM
Posted 06 April 2010 - 01:26 PM
FileCopy,FromFile,ToDir[,PRESERVE][,NOWARN][,NOREC][,SHOW] FileDelete,FileToDelete[,NOWARN][,NOREC] DirCopy,FromDir,ToDir[,SHOW] DirDelete,DirToDelete[,FAST]Please take care that magic wand
Posted 06 April 2010 - 01:53 PM
I only decided to stop wasting my time when I try to discuss ideas and then have to read about my lying and aftergaming etc.
As I already told you in a different topic:
Ignoring posts which are not worth to read, gives a lot of time to do senceful things!
Posted 06 April 2010 - 02:31 PM
Glad to have been wrong.
Posted 06 April 2010 - 11:17 PM
Thanks -- NOREC added to FileDelete is a nice improvement!
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users