Jump to content

Create a folder with the actual date


Recommended Posts

Hi,

I want to create a file with the actual date.

I thought I could realize this in that way:

$TodaysDateIs = (@YEAR & "/" & @MON & "/" & @MDAY)
DirCreate ("C:\test\"& $TodaysDateIs)

But this only creates the directory C:\test\.

How can I add the date?

Finally I want to have the directory for example:

C:\test\18.07.2006

That you!!!!

Link to comment
Share on other sites

I only want to create a folder with the actual date

For Briegel:

Ich will nur einen Ordner erstellen mit dem akutellen Datum. Das soll so sein, dass es ein Stammverzeichnis gibt, sowas wie C:\posteingang .

Am 28.10.2030 scanne ich ein Dokument ein, was nach dem Scan in dem Ordner C:\blubber liegt.

Um 23:30 Uhr sollen alle Dokumente in den Ordner C:\posteingang\"aktuelles Datum" verschoben werden.

Vielleicht ist diese Beschreibung verständlicher, mein Englisch ist nicht das Beste!

Grüße

Link to comment
Share on other sites

How can I use chars? And what are chars?

Char is a typical shortened name for Character

Several characters are not available for use with Windows filenames or folder names. Not sure of the list is documented where, but is something like %^*+=<> as a wild guess.

Edited by MHz
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...