× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Nice link, John! The list of reserved characters matches the list you
posted from the error trying to rename a file.

So, my valid characters list is going to consist of all of the characters
on the keyboard less the reserved characters.

Thanks to all who replied!
- Dan

On Fri, Sep 8, 2017 at 2:48 PM, John Yeung <gallium.arsenide@xxxxxxxxx>
wrote:

On Fri, Sep 8, 2017 at 1:48 PM, Dan <dan27649@xxxxxxxxx> wrote:
Before I generate the file name, I want to ensure the name is valid in
terms of actually being able to create the file and also to being able to
open it in Excel.

Well, when trying to rename a file in the Windows GUI, it tells you
that the following characters are forbidden: \ / : * ? " < > |

That closely matches your list of already tried and rejected (perhaps
you tried them precisely because they are displayed in the Windows
rename input error tooltip).

So I would think that those are the *only* characters that are
strictly forbidden in the Windows file system. I know modern versions
of Windows allow accented characters.

Here's a reference. It says you should also avoid the null character,
and preferably also control codes, though they could conceivably be
legal:

https://msdn.microsoft.com/en-us/library/windows/desktop/
aa365247(v=vs.85).aspx


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.