Delete, Move, Copy with the pattern *.*

Feature requests for future versions of Hollywood can be voiced here
Post Reply
User avatar
Juan Carlos
Posts: 524
Joined: Mon Sep 06, 2010 1:02 pm
Contact:

Delete, Move, Copy with the pattern *.*

Post by Juan Carlos » Fri Nov 08, 2019 11:33 am

Will be possible add the option for the commands Delete, Move, Copy, the pattern *.* for example delete all files from a drawer instead of now one to one?

User avatar
airsoftsoftwair
Posts: 3218
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Delete, Move, Copy with the pattern *.*

Post by airsoftsoftwair » Sat Nov 09, 2019 12:36 pm

This is already possible. As in AmigaDOS, the slash after the directory name tells DeleteFile() to delete all files and subdirectories but keep the root directory, e.g.

Code: Select all

DeleteFile("dh0:testdir/")

User avatar
Juan Carlos
Posts: 524
Joined: Mon Sep 06, 2010 1:02 pm
Contact:

Re: Delete, Move, Copy with the pattern *.*

Post by Juan Carlos » Thu Nov 14, 2019 5:44 pm

Thank you Andreas for your help, yes it works and I added to my little tool iConecta.

Post Reply