コメントに返信

File naming problem with Mac and Windows

Problem

I encountered a little problem today. We are using a Windows shared folder from Mac. On Mac, a space character at the beginning of a folder name is allowed, but not on Windows. When such a folder name is given to a shared windows folder from Mac, it was accepted, but never be renamed, nor deleted.

So, I went to the Windows machine that the shared folder resides, but I still couldn't rename on Explorer. The error is mysterious "Access is not allowed".

Solution

It seems that somewhere in Windows code, it is rejecting the operation to the folder because it has a space character at the beginning. So, I opened DOS prompt and used dir command with /X option to short the 8.3 name.

The 8.3 name was indeed without the space. So, I renamed the folder using the 8.3 name using ren command. It worked well.

The lesson is that you never name a folder with a space at the beginning of the folder name.

返信

このフィールドの内容は非公開にされ、公表されることはありません。
  • ウェブページアドレスとメールアドレスは、自動的にハイパーリンクに変換されます。
  • 使用できるHTMLタグ: <a> <em> <strong> <code> <cite> <ul> <ol> <li> <dl> <dt> <dd> <p>
  • 行と段落は自動的に折り返されます。
  • Amazon製品へのリンクを次の形式で作成することが出来ます。[amazon product_id inline|full|thumbnail]. 例: [amazon 1590597559 thumbnail]
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • 画像を追加することが出来ます。

書式オプションに関するより詳しい情報...

認証コード
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
画像で表示されている数字および記号を入力してください。