- # Copied from old Dev-Editor (great idea)
-
- my %dispatch = ('show' => \&exec_show,
- 'beginedit' => \&exec_beginedit,
- 'canceledit' => \&exec_unlock,
- 'endedit' => \&exec_endedit,
- # 'mkdir' => \&exec_mkdir,
- # 'mkfile' => \&exec_mkfile,
- 'workwithfile' => \&exec_workwithfile,
- # 'copy' => \&exec_copy,
- # 'rename' => \&exec_rename,
- 'remove' => \&exec_remove,
- 'unlock' => \&exec_unlock
- );
+ abort("The directory where you want to create this file or directory doesn't exist.");
+ }
+
+ # ... and check if the path is above the root directory