View Full Version : ?'s in filenames

06-06-2002, 07:49 PM
I know that if you delete a file called file.txt, it become ?ile.txt. What if you have file?.txt Will that be treated as a deleted file? Will I be able to access it through an HTML hyperlink? The actually filename (although I doubt you'll need it is CGIASM?.html. I was trying to match all the HTML files with the instruction to do their purpose in DEBUG (this is my assembler project). For example, to load a file. I would have CGIASMn.html or CGIASMl.html. Probably the latter, but thats what I'm trying to do. CGIASM?.html will be the general information page. If I can't use that, any suggestions of what I could use in place? (? is the command for help in DEBUG)

06-06-2002, 07:54 PM
would "help" be too ambiguous? :)

06-06-2002, 08:55 PM
But then it's not consistent! I'm a perfecionist like that. And I hate creativity, notice on my site when it's finished - it's all black and white. And when getting stuff from the drug store (or for the non-Americans, I'm talking to a Chemist, not a junky with dark sunglasses and a field covered in camoflauge netting), I get the generic, and not sutff like 'Tylenol', or 'Triaminic'. If I want asprin I get asprin!

06-06-2002, 09:18 PM
in the old days of dos, when a file was deleted, its first letter was simply renamed to a special delete value and allowed programs to write that space. undelete worked by looking over that space and, in the event that nothing overwrote the space, recover it. of course, the first letter was gone, but that wasn't too bad...

my concern over using question marks in a file name isn't about deleting stuff. it should be safe there. but the question mark in dos is a wild-card key. (ie: f??st.txt returns first.txt or faust.exe). it might break your code later down the line.