Re: dirs with trailing . (period)



vista? I double so. I can't create any folder with period and the end.
I had try xp, w2k3, vista, w2k8. when you create either via explorer or
command prompt.
say mkdir aa.
aa is created. then if you cd to the folder say 'cd aa.' or 'cd aa'
it still goes into the folder.


--
Regards,
Bernard Cheah
http://www.iis.net/
http://msmvps.com/blogs/bernard/


"A. Vreugdenhil" <AVreugdenhil@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B45EFCD0-8035-4F4F-912C-B380683A417D@xxxxxxxxxxxxxxxx


Windows explorer worked... on Vista now that I think of it.
I wonder what would happen if you copy something containing that period
from
a normal network share?


"Bernard Cheah [MVP]" wrote:

Don't think you have much control about this.
Have you figure out how it was created? I can't create it via command
prompt/windows explorer/ftp.exe


--
Regards,
Bernard Cheah
http://www.iis.net/
http://msmvps.com/blogs/bernard/


"A. Vreugdenhil" <AVreugdenhil@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message
news:3B75F635-22E1-43F1-9B4B-92A494453CF4@xxxxxxxxxxxxxxxx

Thanks for the info. This helped me understand the problem.

But now for the next problem: How do I stop people from creating
dirnames
with trailing periods if windows itself fakes allowing it?

I guess I'll have to make use of that crude workaround myself too.
Any idea how it works or where I can find that info?


".._.." wrote:

The allowed characters in folder names and file names are different
from
Unix to Windows.

To make interoperablity, you need to follow BOTH of the standards with
all
files and folders.

"." is an illegal character for the end of a folder name in the
underlying
file system for Windows. The GUI will let you do it, but it's using a
crude
work around to display the "."

For best results, use numbers, letters, underscores, and dashes for
folder
names. NO SPACES. Use ALL lower case letters (Unix is case
sensitive,
Windows is not.) Use three or four letter file extensions, or no file
extension. Use a single dot to differentiate the file extension from
the
file name. Do not use more than one dot, do not use punctuation, etc.

"A. Vreugdenhil" <AVreugdenhil@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message
news:4AF22B61-2A87-4765-A3CB-ABFC97D3ABE0@xxxxxxxxxxxxxxxx

Yes, I noticed all that too.
Isn't it strange?
I'm writing a script that copies stuff to another server, but now it
seems
I
can never upload perfectly valid dirs if their names end with a
period
:(

At least two clients just create the given dir, but when you start
uploading
the contents the dirs has not been created but an entirely different
dir
has.

Is this a bug or what???


"Bernard Cheah [MVP]" wrote:

I tested with w2k3, it won't allows me to create 'test.' directoy
but
'test,' is acceptable.
if windows detects that a period is and the end, it truncate it
making
it
'test' only for the folder name.









.



Relevant Pages

  • Re: Word 2007 has stopped working on Vista Home Premium
    ... I probably earlier said it was worse when I tried to open a file first than using the shortcut icon on the desktop, but should have clarified that I normally use start/computer rather than than windows/e to open these files. ... I called them and was told the only driver available now is the one that comes with Vista. ... When I click the desktop icon, it is less than 50% crashes. ... I don't know how to find the startup folder in Vista. ...
    (microsoft.public.word.application.errors)
  • Re: How reduce number items listed start menu
    ... is Explorer the only way, ... If you create a folder in the All Users\Start Menu with the same name as one ... Create and Configure User Accounts in Windows XP ... application, Disk copier, etc.) You'll be glad to know that if you have ...
    (microsoft.public.windowsxp.basics)
  • Re: unable to find backup files when I returned from Vista to XP
    ... I am running Windows XP home edition. ... "access denied" message rather than simply not displaying a folder tree. ... diversity of backup media. ... removed Vista I went to F: and actually READ some of these files. ...
    (microsoft.public.windowsxp.general)
  • Re: renaming file
    ... Once you get the correct file path from that dialog, ... You can also use Windows Find or Search ... > You are confusing Internet Explorer and Windows Explorer. ... > When you have it running, select its Tools> Folder Options> View ...
    (microsoft.public.word.newusers)
  • RE: Windows Explorer Media File Performance
    ... crash because each one of the player is trying to make the preview. ... Windows Explorer crash opening a folder with thumbnail view. ...
    (microsoft.public.windowsxp.general)