Help with weird generic computer issue?


fritata

Member
Joined
Oct 6, 2012
Messages
260
I tried to save a screenshot of my Linux desktop from Linux to my Windows's partition, however,

The program I used somehow managed to name it using characters that can't be used to name files, so I can't edit, delete, copy it, view it, etc.

How can I delete it?
 

TrashyMG

Sarcasm Dispenser
Staff member
Joined
Jan 18, 2010
Messages
11,347
If your using command line try using quotes copy and paste is your friend.:

 

Code:
rm "some_oddname_file.png"
 

fritata

Member
Joined
Oct 6, 2012
Messages
260
hmmmm I tried:

del (first few characters of file)

and

del (entire filename)

and it says that the file could not be found.
 

TrashyMG

Sarcasm Dispenser
Staff member
Joined
Jan 18, 2010
Messages
11,347
Is this in windows?

if so have you tried ?

del first_few_characters*
Just be careful if other files start with those same characters.
if linux substitute del with rm
 
Last edited by a moderator:

Neelix

Insecticidal Maniac
Joined
Jan 8, 2011
Messages
3,279
Location
Melbourne, Australia
you could try:

chkdsk /f


It should see the invalid file name as a corruption of the file system,  and "fix" it by removing that directory entry...

- Neelix
 
Top