G
Guest
I recently found out about a bug in my company's product that I can reproduce
in other software. Launch an application (try it with Notepad) and perform
"Save As". Enter any legal name in the "File name" field, but before you hit
"Save" insert the character \ as the first character in the "File name"
field. No matter what folder the "Save As" dialog is displaying, if you
insert the \ symbol the file will be named in the root folder.
So if you are expecting to save "Receipt.txt" as:
C:\Documents and Settings\username\My Documents\Receipt.txt
But type "\Receipt.txt" in the file name field, your file will be created as:
C:\Receipt.txt
So is this a bug, or is this a feature? I can see this as being a quick way
to save a file to the root, but Microsoft seems to be discouraging the
practice of saving things to the root of the C drive. So why would they
create a way to make it easy to do just that?
in other software. Launch an application (try it with Notepad) and perform
"Save As". Enter any legal name in the "File name" field, but before you hit
"Save" insert the character \ as the first character in the "File name"
field. No matter what folder the "Save As" dialog is displaying, if you
insert the \ symbol the file will be named in the root folder.
So if you are expecting to save "Receipt.txt" as:
C:\Documents and Settings\username\My Documents\Receipt.txt
But type "\Receipt.txt" in the file name field, your file will be created as:
C:\Receipt.txt
So is this a bug, or is this a feature? I can see this as being a quick way
to save a file to the root, but Microsoft seems to be discouraging the
practice of saving things to the root of the C drive. So why would they
create a way to make it easy to do just that?