Open new directory with date
Moderators: white, Hacker, petermad, Stefan2
Open new directory with date
When I creating a new directory within main directory with a date - it doesn't show me today date it show me the date of the directory I was with the cursor on it ...
How I open a directory with today current date ?
Thanks
How I open a directory with today current date ?
Thanks
Re: Open new directory with date
I don't know how you manage this; but when I use F7 a directory with the current time and date is created.
Re: Open new directory with date
matu89,
F7, <[Y] [M] [D], Enter
HTH
Roman
F7, <[Y] [M] [D], Enter
HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Re: Open new directory with date
Not as far as i know. But it should stay in the dropdown menu, until it is filled up.is there a way to add to the list the command : <[D] [M] [Y]?
You don't have to write: <[D] [M] [Y] unless you specifically want spaces between date, month and year - if you don't need spaces you can just write <[DMY]
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Open new directory with date
If you need that often, you can also use a script to create a folder with current date
That script can be execute from a button or via user command by an keyboard shortcut.
Re: Open new directory with date
PowerShell: Create new directory with current date as name
Try this button:
Code: Select all
TOTALCMD#BAR#DATA
PowerShell
New-Item -ItemType Directory -Path """.\$((Get-Date).ToString('yyyy-MM-dd'))"""
PowerShell
PowerShell MD "YMD"
1
-1
To create an button yourself:
Code: Select all
Command: PowerShell
Parameters: New-Item -ItemType Directory -Path """.\$((Get-Date).ToString('yyyy-MM-dd'))"""
Start path:
Icon file: PowerShell
ToolTip: PowerShell MD "YMD"
Program window: [X]Run minimized / [_]Run maximized
HTH?
Shorter version would be (but less understandable):
New-Item -Item Dir ".\$((Get-Date).ToString('yyyy-MM-dd'))"
The triplet """quotes""" are needed for use in an TC button.
Re: Open new directory with date
thanks!