Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
144 user(s) are online (103 user(s) are browsing Forums)

Members: 2
Guests: 142

nbache, 328gts, more...

Headlines

 
  Register To Post  

[Solved] How to delete a file that ends with ':'?
Just popping in
Just popping in


See User information
Hi,

I have an issue that Wookiechat created a log file ending in ':'. Do not ask me how it managed to do it.

dir Workbench:Internet/WookieChat/Logs/
  
AmigaWorld.net_#amigadev:
delete Workbench:Internet/WookieChat/Logs/AmigaWorld.net_#amigadev:
DELETEdevice (or volumeis not mounted


But how do I get rid of it? Deleting with shell, Filer or WB does not work. Everytime I try, I get a window saying:
"Please insert volume AmigaWorld.net_#amigadev: in any drive"

Any idea?

Thank you,
Flynn


Edited by FlynnTheAvatar on 2024/1/11 16:49:40
Go to top
[Solved] How to delete a file that ends with ':'?
Just popping in
Just popping in


See User information
To answer my question: strangely enough, Directory Opus 4 was able to handle this issue and delete the file.

Not sure what Directory Opus does different than WB or DOS...

Go to top
Re: [Solved] How to delete a file that ends with ':'?
Home away from home
Home away from home


See User information
@FlynnTheAvatar

Followup for the DOS Gurus...

Is it possible to erase that file with OS tools (w/o the need for third party stuff)?

Thank you

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: [Solved] How to delete a file that ends with
Just can't stay away
Just can't stay away


See User information
@Raziel

I would think you could do it with a pattern, e.g. "delete Workbench:Internet/WookieChat/Logs/AmigaWorld.net#?".

Best regards,

Niels

Go to top
Re: [Solved] How to delete a file that ends with
Just can't stay away
Just can't stay away


See User information
@nbache
Using patterns is one option, and if "delete" still doesn't work that way maybe first renaming the file could work.
If the OS C: tools can't do it another possibility would be to use the SDK (coreutils) "rm" instead.

But what's more important: It shouldn't be possible to create files with a ':' in the name at all.
Which file system was used and allowed to create such a file name? It's a bug in the file system which has to be fixed.

Go to top
Re: [Solved] How to delete a file that ends with
Home away from home
Home away from home


See User information
@joerg
@nbache

Thank you both, always good to know

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: [Solved] How to delete a file that ends with ':'?
Just popping in
Just popping in


See User information
Thank you for the suggestions, but they do not work. Using "DELETE #?" or "rm *" always opened the window with "Please insert volume ...".

Also, renaming had the same issue.

@joerg: The filesystem is NGF\00. And yes, it is ancient, there is a new version, but the general public has no access to it. <rant>As for most other improved components of OS 4.1</rant>.

EDIT:
If you want to reproduce the issue, create a file, and rename it to <File>: in Directory Opus 4. And see if you can get rid of it without using DOpus again.

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project