Locking a folder from movement

Hi there,
Wondering is there any option to make a folder locked to a location - so it can't be dragged and dropped by accident.
It still would retain all the usual properties of manipulation. Just trying to eliminate when I accidentally drag and drop
by accident. Did this a couple of times over the years on major projects....

Any pointers appreciated... thanks.

You could turn off Preferences / File Displays / Mouse / Allow drag and drop into sub-folders (without a qualifier key held down) so that drag & drop can only happen when you hold Shift (move) or Ctrl (copy), so it's less likely to happen by accident. That's the most straightforward thing.

Or you could use folder permissions to make it so specific things can't be moved (which might interfere with normal use).

Editing the Settings > File Types > All Folders drag & drop events so they filter by path (e.g. using @ifpath) is another possible solution, if you only want to prevent it for specific folders.

Additionally, you could apply the @confirm modifier to your MOVE command, path specific.

@ifpath:(D:\examplepath1|examplepath2)
@Confirm Really move|yes|abort

Excellent will look into those things now... Thanks so much.

Amazeballs.... thanks works perfect.
This could be an interesting feature - a possible pin icon for a folder that cannot be moved (In my case).
Then the function could be edited by the user so the pin icon could mean "no copy" or "no re-label" or whatever the user wants to
interpret the pin on/off as.

[code]//This is an event script attached to drag and drop event - certain folders.
//It prevents drag and drop errors - on Projects (D:) but allows it in substructures.

@ifpath:D:
@confirm "Really drag and drop?"
Copy MOVE
@ifpath:else
Copy MOVE[/code]