How to make directories with current data name in Total Commander

To quickly create directories with the name equal to the current date through the Total Commander:

  1. At first, let’s create a cmd script that makes a directory with the desired name:

In the first line of the script, the desired name for the directory is created in the format YYYY.MM.DD.

The second script line creates a directory with the specified name along the path passed in the input parameter %1

Continue reading “How to make directories with current data name in Total Commander”

How to create symbolic links in Total Commander

Symbolic links in Windows (starts from Vista) can be created using mklink command.

Let’s make a button in Total Commander to create a symbolic link from the selected file:

  1. In a convenient location, for example in Total Commander plug-ins directory c:\TotalCommander\Plugins\ create a batch file mklink.cmd with the following content:

This command creates a symbolic link to the file transferred from the first input parameter and places it in a location from the second input parameter.

  1. Create a button in Total Commander panel by dragging this file to this panel.
  2. Right click on this button and select “Edit …”
    1. In the “Settings” field specify:

Save changes.

%P – path to the file under the cursor in active panel

%N – the name of the file under the cursor in active panel

%T – path to the location, open in a second (non-active) panel

As a result by pressing created button a symbolic link to the file under the cursor in the active Total Commander tab will be created in a location of the inactive tab with the same file name.

WordPress TinyMCE Advanced Editor plugin – setting start value for numeric list

Little external plugin for Wordpress TinyMCE Advanced Editor. Adds new button to the editor menu to set start values of numeric lists.

Appends “start” attribute to “OL” tag.

Plugin usage example
Plugin usage example

Continue reading “WordPress TinyMCE Advanced Editor plugin – setting start value for numeric list”