I have a log directories which created by dates e.g. "D:\Logs\0516" (for 16 in May).
I tried to create a button to switch source tab to this log directory.
First I used the CD command like so:
Code: Select all
CD D:\Logs\%date:~4,2%%date:~7,2%
Then I tried using this command:
Code: Select all
%COMMANDER_PATH%\TOTALCMD64.exe /O /L="D:\Logs\%date:~4,2%%date:~7,2%"
Executing the same command from windows command prompt opens the full path in left tab "D:\Log\0516"
May be I'm doing something wrong and there is an other way to achieve my goal.
Hope you could help my