Modify

Opened 16 years ago

Closed 16 years ago

Last modified 16 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 by Valik, 16 years ago

Resolution: No Bug
Status: newclosed
#include <File.au3>
ConsoleWrite(FileGetShortName(_PathFull(".")) & @CRLF)
ConsoleWrite(FileGetShortName(_PathFull("..")) & @CRLF)

No bug, not a feature we will add.

comment:2 by flyingboz, 16 years ago

thank you for your prompt response.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.