Hi vingfel,this can be done with a simple rexx script like:
/* create directory with date-name */
thedate = date('L')
command = 'md' || "'" || thedate || "'"
command
/* --- end of script --- */
Store that script as "mddate.cmd" for example.
I used the concatenation with quotes in order to support spaces in the directory name...
When you run it from e.g. c:\ it will create a directory
C:\22 march 2006
(For an english OS/2. In a french os/2 it should be different according to the language specific setting...)
That's a very BASIC way. You can use different arguments in the date function that represent a different date string. For example, using date('S') instead will create a folder named
C:\20060322
In order to have more options, you could install "datergf.cmd" by Ronny Flatscher (search "datergf" on hobbes and put the unzipped "datergf.cmd" into a directory of the path - I use C:\os2 for it).
That will give you even more format strings...
HTH
Thomas