In article <1e3uaic.817vj114mzu36N%dempson@actrix.gen.nz>, dempson@actrix.gen.nz (David Empson) wrote: > > As I recall on the IIe, you can use control characters in a filename which > > aren't visible but are part of the filename. Yes, only on DOS 3.x. Fortunately, ProDOS guard against this. > Do you have any utility programs like Copy II+, Bag of Tricks or the > Beagle Bros DOS 3.3 utilities (whose name I forget)? You could use one > of these to patch the filename to remove the control characters > (replacing them with normal characters), or even just to find out what > characters were used. If David has Copy II+, he can just choose the "rename" item, because Copy II+ does not require you to type in the original filenames. And there certainly are other utilities which provide this feature. However, to return to the original question, a quick and dirty patch that displays all control characters as inverse uppercase is this (very quick, very dirty): $0300: CMP #$A0 $0302: BCS $0306 $0304: AND #$7F $0306: JMP $FDF0 So, from the monitor, you type 300:C9 A0 B0 02 29 7F 4C F0 FD and then back in Basic, you type POKE 54,0:POKE 55,3:CALL 1002 That will do the trick. Note that ALL control characters will be displayed as inverse uppercase, including the returns at the end of lines. So this routine will play havoc with your display, but it WILL show you the hidden characters in the file names. To return to normal, just press reset. -- Groetjes, Pim Millennium problem? What millennium problem? > I'm sure I've still got a copy on a utility disk, as I used it a few > years ago. I'll hunt it out and send you a copy separately in the > next week. > Copy sent to David, but here's a listing for anyone else who may be interested. It's a small BASIC program, probably a one-liner. 10 REM == MAKES CONTROL CHARACTERS VISIBLE == 20 REM == RUN THIS PROGRAM - 30 REM == THEN CATALOG DISK OR LOAD & LIST FILE 40 REM 50 DATA 201,141,240,21,201,136 60 DATA 240,17,201,128,144,13 70 DATA 201,160,176,9,72,132 80 DATA 53,56,233,64,76,249 90 DATA 253,76,240,253 100 FOR I = 768 TO 795 110 READ V: POKE I,V: NEXT 120 POKE 54,0: POKE 55,3 130 CALL 1002; 140 REM 150 REM RESTORE NORMAL OPERATION BY TYPING PR#0 Cheers, Sent via Deja.com http://www.deja.com/ Before you buy.