Tom J
Organiser: South Wales Premium Member
Registered: 8th Sep 03
Location: Bridgend
User status: Offline
|
I have a problem deleting certain files. They have long filenames and I cant get rid of them. This error message comes up:
Cannot delete file. The filename you specified is invalid or too long. Specify a different filename.
I’ve tried renaming them but the same message comes up. How do I get rid?
|
marc_gtir
Member
Registered: 25th Mar 02
Location: Bedford, UK
User status: Offline
|
move them to C: and then try deleting them
|
Tom J
Organiser: South Wales Premium Member
Registered: 8th Sep 03
Location: Bridgend
User status: Offline
|
it won't let me move them either they are in my documents at the moment
|
Gareth.O
Member
Registered: 25th Sep 02
Location: Kings Langley, Hertfordshire
User status: Offline
|
rename them in command prompt?
|
Tom J
Organiser: South Wales Premium Member
Registered: 8th Sep 03
Location: Bridgend
User status: Offline
|
u mean in ms dos? cld u tell me how to do this coz i dnt have a clue
|
Gareth.O
Member
Registered: 25th Sep 02
Location: Kings Langley, Hertfordshire
User status: Offline
|
u using xp? if so, start > programs > accessories > Command Prompt then you have to navigate to the folder... firstly by typing 'cd\' to take you to c:\ then by typing 'cd foldername' to get to the folder.
once there type 'ren oldfilename newfilename' and it should rename it
|
Tom J
Organiser: South Wales Premium Member
Registered: 8th Sep 03
Location: Bridgend
User status: Offline
|
im on win98
|
Tom J
Organiser: South Wales Premium Member
Registered: 8th Sep 03
Location: Bridgend
User status: Offline
|
i tried renaming it that way in dos and i ran out of space on the command line. could i just delete my documents and then make a new 1?
|
Paul_J
Member
Registered: 6th Jun 02
Location: London
User status: Offline
|
make sure that you don't have a program open at the moment with those files?
i.e. got word open looking at the documents - and your trying to delete them else where...
|
Tom J
Organiser: South Wales Premium Member
Registered: 8th Sep 03
Location: Bridgend
User status: Offline
|
nope the files are definitely not open
|
Trotty
Member
Registered: 22nd Feb 01
Location: Bristol
User status: Offline
|
quote: Originally posted by flameredcorsab
i tried renaming it that way in dos and i ran out of space on the command line.
If there's only one file with that name, use a wildcard in the selection, for example
The filename is 'thisisastupidlylongfilenameforcrappywindowstounderstand.doc'
So at the command prompt, put:
ren thisis*.doc newname.doc
Or you could just delete it, using the same method
del thisis*.doc
as long as there aren't similarly named files in there, otherwise the wildcard will include those too!
|
Tom J
Organiser: South Wales Premium Member
Registered: 8th Sep 03
Location: Bridgend
User status: Offline
|
cheers trotty. top man
|
Trotty
Member
Registered: 22nd Feb 01
Location: Bristol
User status: Offline
|
Welcome
|
chris_uk
Premium Member
Registered: 8th Jul 03
User status: Offline
|
yup that should work
|