Modify ↓
#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)
Note:
See TracTickets
for help on using tickets.

#include <File.au3> ConsoleWrite(FileGetShortName(_PathFull(".")) & @CRLF) ConsoleWrite(FileGetShortName(_PathFull("..")) & @CRLF)No bug, not a feature we will add.