Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#1286 closed Bug (No Bug)

FileGetShortName does not expand . or .. directories

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

Description

ConsoleWrite(FileGetShortName('.'))
ConsoleWrite(FileGetShortName('..'))

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 15 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 15 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

Action
as closed The ticket will remain with no owner.
Author


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

 
Note: See TracTickets for help on using tickets.