Windows Thread, evil Pupil = File name specified too long in Technical; I have a pupil whos go out of his way to make the longest file path ever and I can't ...
5th March 2010, 03:28 PM #1
evil Pupil = File name specified too long
I have a pupil whos go out of his way to make the longest file path ever and I can't remove it!
:\users\Students\06\06numpty\Trash\a\b\c\d\e\f\g\h \i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\y\z\Did you notice that there wasn't a x\you\are\just\wasting\your\time\ha\ha\you were laughing at the x thing werent you\i know\food\you greedy person\all gone\owned\your having fun aren't u
I can't get beyone the folder your having fun aren't you I I try an delete it windows complains about the file name being to long. (probably means file path but that the error i get)
how do I remove it?
Last edited by chazzy2501; 5th March 2010 at 06:39 PM.
5th March 2010, 03:29 PM #2
map a drive as far down as you can get, that will let you get even further into the path. we have had this with a couple of our kids in the past.
Last edited by carnforthhigh; 5th March 2010 at 03:32 PM.
4 Thanks to carnforthhigh:
actech (7th March 2010), chazzy2501 (5th March 2010), Gatt (5th March 2010), zag (5th March 2010)
5th March 2010, 03:38 PM #3
Just before said pupil is due to hand in some important work, why not rename all of the files in their home folder, in a similar manner?
5th March 2010, 03:43 PM #4
You could also grab a folder near the right-hand end of the chain and drag it higher up (i.e. into a folder near the LH end), then delete the lot.
Thanks to timzim from:
chazzy2501 (5th March 2010)
5th March 2010, 03:44 PM #5
5th March 2010, 03:49 PM #6
Yup - there is a maximum character length for any given filename. You can easily delete it by renaming the folders down to be less that 255 characters (including slashed and spaces).
5th March 2010, 03:52 PM #7
because the pupil is just being stupid whereas that would probably open you to disciplinary action?
Originally Posted by AyatollahPies
5th March 2010, 03:54 PM #8
Originally Posted by srochford
5th March 2010, 03:55 PM #9
Is it in a folder you can delete? I'm sure i've found ways to force delete them in the past
5th March 2010, 03:58 PM #10
using the mapnetwork drive technique I was able to remove it.
Yes it was just a folder.
I found it by looking at the crash dump of "strings.exe" whilst looking for flash games in excel docs.
I'll give the other techniques a shot if I find anymore.
5th March 2010, 04:04 PM #11
I've just done this by renaming the longer folders to a single character, enables you to get deeper and delete it normally. Usually not malice/idiocy that causes it here, but instead the fantastic folder structure which Studio 8 uses
5th March 2010, 04:14 PM #12
I don't know whether this is worth a new post but I'm still having trouble with strings.exe now it says
findstr: line 1503872 is too long.
it seems to have stuck rather than crashed this time which means I can't see what it's stuck on!
EDIT: it's not stuck it continued and found more! how can I find out what files it's talking about?
Last edited by chazzy2501; 5th March 2010 at 04:33 PM.
5th March 2010, 05:55 PM #13
You can also use
in a command prompt to delete or rename it.
\\?\D:\users\Students\YearGroup\OdiousStudent\Trash\a\b\c\d\e\f\g\h \i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\y\z\Did you notice that there wasn't a x\you\are\just\wasting\your\time\ha\ha\you were laughing at the x thing werent you\i know\food\you greedy person\all gone\owned\your having fun aren't u
Last edited by pete; 5th March 2010 at 06:49 PM.
Reason: removed student name
Thanks to pete from:
chazzy2501 (8th March 2010)
By karldenton in forum Windows
Last Post: 22nd July 2009, 01:47 PM
By cheryl in forum Windows
Last Post: 18th January 2008, 11:27 PM
By ozydave in forum Network and Classroom Management
Last Post: 31st October 2007, 12:35 PM
By Samson in forum Scripts
Last Post: 4th September 2007, 08:40 AM
By Mungo in forum Bad Experiences
Last Post: 2nd August 2005, 12:48 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)