[Rapid PHP 9.5.2.106]: minor problem with file renaming

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
bfrei
Posts: 7
Joined: Thu Feb 07, 2008 11:53 am

[Rapid PHP 9.5.2.106]: minor problem with file renaming

Post by bfrei »

Hi,

A minor bug: when I try to rename an existing file in the File Explorer panel to a name starting with a dot (e.g. ".htaccess"), Rapid PHP pops up an error message "You must type a file name." and does not accept the name.

Bernhard

Edit: I just found out that this seems to be a problem with Windows, as the same thing happens in Windows Explorer.
mwb1100
Posts: 72
Joined: Thu Jun 02, 2005 8:00 am

Re: [Rapid PHP 9.5.2.106]: minor problem with file renaming

Post by mwb1100 »

Yeah - Windows Explorer doesn't let you do this because then you end up with a filename with only an extension, and by default Explorer does not show extensions. So you'd end up with a file listing in Explorer that had what appeared to be a nameless file:

http://blogs.msdn.com/oldnewthing/archi ... 89268.aspx

Remember that Explorer needs to work well for people who know next to nothing about filename extensions. In my opinion, Explorer should change the behavior if you've turned on the option to show extensions (or is it turning off an option to hide extentions?). But MS never listens to my ideas...

An interesting thing is that (at least on Vista) when Explorer is displaying a file that is "only an extension", it displays the whole filename even if it's set to hide extensions. In other words, the 'problem' doesn't occur, so it should let you make that change if you want.

I'm just guessing that RapidPHP uses the same shell API as Win Explorer.
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: [Rapid PHP 9.5.2.106]: minor problem with file renaming

Post by Karlis »

Probably setting an option to show file extensions in Windows Folder Options can help here? I know that such option exists because I have it enabled on my laptop.
Karlis Blumentals
Blumentals Software
www.blumentals.net
bfrei
Posts: 7
Joined: Thu Feb 07, 2008 11:53 am

Re: [Rapid PHP 9.5.2.106]: minor problem with file renaming

Post by bfrei »

Thanks, I have the option to show extensions (and hidden files etc.) in Explorer always enabled, but there's no difference. However, I found that I am able to rename the files the way I want using the CMD line prompt.

Bernhard
Post Reply