Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#1286 closed Bug (No Bug)

FileGetShortName does not expand . or .. directories

Reported by: flyingboz Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: FileGetShortName Current Directory Parent Directory Cc:



Current behavior:
The above commands do not return the shortname of the directories in question; rather they return the argument itself.

Desired behavior:
Return the absolute path's shortname.

Attachments (0)

Change History (2)

comment:1 Changed 14 years ago by Valik

  • Resolution set to No Bug
  • Status changed from new to closed
#include <File.au3>
ConsoleWrite(FileGetShortName(_PathFull(".")) & @CRLF)
ConsoleWrite(FileGetShortName(_PathFull("..")) & @CRLF)

No bug, not a feature we will add.

comment:2 Changed 14 years ago by flyingboz

thank you for your prompt response.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.