FilesAndDirs Project Page
FilesAndDirs Project Page
- Future Enhancements
- 1.5.1 from 2017-03-21
- 1.5.0 from 2017-02-27
- 1.4.2 from 2017-02-01
- 1.4.1 from 2017-01-31
- 1.4.0 from 2017-01-23
- 1.3.3 from 2016-12-22
- 1.3.2 from 2016-12-15
- 1.3.1 from 2016-09-20
- 1.3.0 from 2016-09-15
- 1.2.0 from 2016-09-11
- 1.1.6 from 2016-09-09
- 1.1.5 from 2016-09-07
- 1.1.4 from 2016-09-06
- 1.1.3 from 2016-09-04
- 1.1.2 from 2016-09-02
- 1.1.1 from 2016-09-01
- 1.1.0 from 2016-09-01
- 1.0.0 from 2016-08-30
Don't hesitate to add your wishes here.
1.5.1 from 2017-03-21
- Bug fix: a filename "%LOCALAPPDATA%" under Linux would have crashed.
1.5.0 from 2017-02-27
NormalizePath now expands environment variables (Windows only).
1.4.2 from 2017-02-01
Bug fix: PWD returned an invalid string in case the current directory pointed to a UNC path.
1.4.1 from 2017-01-31
Bug fix: CopyTree did not work as expected when the left argument (source) carried a trailing separator.
1.4.0 from 2017-01-23
Dir now supports both wildcards and recursive mode at the same time.
RmDir had a problem when, say, a console window was "looking" into the folder to be deleted, or one of its sub folders. It cannot delete such folders but should report the problem rather than crash.
1.3.3 from 2016-12-22
Note: The result of RmDir got changed in case the directory to be deleted does not exist.
- Bug fixes:
MkDir did not work properly when an invalid path name was provided.
Under Linux/Mac filenames and folder names starting with "-" could cause problems with CopyTo or MoveTo.
1.3.2 from 2016-12-15
An empty argument of NormalizePath should return just that.
1.3.1 from 2016-09-20
- Documentation improved.
1.3.0 from 2016-09-15
Note: change of paradigm!
This version gives up the notion of using the slash character as directory separators everywhere, no matter what the operating system is.
We don't usual make changes of this kind, but this change suggests itself and it is in a very early stage of the (expected) life span of FilesAndDirs, so we make an exception.
You can specify a / or \` as directory separator in any argument but you will always get back a result that uses what's "the" separator with the given operating system.
That change of paradigm resulted in these changes/additions:
NormalizePath now uses either \ or / as separator in paths depending on the current operating system.
EnforceBackslash does exactly what the names suggests, and it does not accept a left argument anymore.
All functions that return a path (Dir, ListFiles, ListDirs ...) will provide what is "the" separator on any given operating system.
New method EnforceSlash which does exactly what the name suggests except that any \\ at the beginning remain unchanged.
New method CurrentSep returns what is "the" separator on the current operating system.
This version also comes with a bug fix:
Spelling error corrected: It's now EnforceBackslash rather than EnforceBackSlash.
1.2.0 from 2016-09-11
* The method EnforceBackslash now excepts a left argument "winOnly". The function now does what the name suggests: it changes all / to \, except when "winOnly" is passed as left argument and it does not run under Windows.
1.1.6 from 2016-09-09
PolishCurrentDir could have failed under Linux and Mac OS.
Telling parameter spaces from a vector of key/values pairs failed under some circumstances in Dir.
- Documentation improved
1.1.5 from 2016-09-07
DeleteFile crashed on a list of filenames with empty items.
1.1.4 from 2016-09-06
CheckPath did not return a result when it attempted to create a directory without success.
1.1.3 from 2016-09-04
DeleteFiles should trap 19 and 22 and just report failure in such cases (typically file is hold by some other process).
1.1.2 from 2016-09-02
MovoTo on the Mac did not work.
Loop implemented in MkDir in order to overcome the timing issue in CheckPath and MkDir.
1.1.1 from 2016-09-01
- Documentation fixed.
1.1.0 from 2016-09-01
ListDirs and ListFiles allow wildcard characters now.
DeleteFile crashed on empty vectors.
Methods IsFile, IsDir and IsSymbolicLink except nested arguments now.
New method EnforceBackslash introduced. Converts all / to \ but only under Windows.
1.0.0 from 2016-08-30
Very first release.
Note that this version requires at least Dyalog 15.0 Unicode!