what is the difference between cm_RenMov and cm_MoveOnly?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
xiaomm250
Junior Member
Junior Member
Posts: 18
Joined: 2021-12-03, 09:43 UTC

what is the difference between cm_RenMov and cm_MoveOnly?

Post by *xiaomm250 »

what is the difference between cm_RenMov and cm_MoveOnly?
they have the same function with different commander name ?
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: what is the difference between cm_RenMov and cm_MoveOnly?

Post by *tuska »

Hi,

Type in cm_CommandBrowser in the Total Commander command line and press ENTER.
Then enter the command in the "Filter" field.

Code: Select all

cm_RenMov	906	Rename/Move files
cm_MoveOnly	1005	Move (F6)
xiaomm250
Junior Member
Junior Member
Posts: 18
Joined: 2021-12-03, 09:43 UTC

Re: what is the difference between cm_RenMov and cm_MoveOnly?

Post by *xiaomm250 »

tuska wrote: 2021-12-09, 09:25 UTC Hi,

Type in cm_CommandBrowser in the Total Commander command line and press ENTER.
Then enter the command in the "Filter" field.

Code: Select all

cm_RenMov	906	Rename/Move files
cm_MoveOnly	1005	Move (F6)
when you run the two command, they are the same!!!!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: what is the difference between cm_RenMov and cm_MoveOnly?

Post by *ghisler(Author) »

cm_RenMov is the same as when clicking on the F6 Move button. It reacts to keyboard modifiers like the shift key = rename.
cm_MoveOnly always calls the move function and ignores keyboard modifiers.
cm_RenameOnly always calls rename, either in place (one file) or with a dialog box when multiple files are selected
cm_renamesinglefile always calls rename for the current file in the active panel, even if other files are selected
Author of Total Commander
https://www.ghisler.com
xiaomm250
Junior Member
Junior Member
Posts: 18
Joined: 2021-12-03, 09:43 UTC

Re: what is the difference between cm_RenMov and cm_MoveOnly?

Post by *xiaomm250 »

It reacts to keyboard modifiers like the shift key = rename.
cm_MoveOnly always calls the move function and ignores keyboard modifiers.
I cannot understand it very well
User avatar
Stefan2
Power Member
Power Member
Posts: 4157
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: what is the difference between cm_RenMov and cm_MoveOnly?

Post by *Stefan2 »

xiaomm250 wrote: 2021-12-09, 10:14 UTC
It reacts to keyboard modifiers like the shift key = rename.
cm_MoveOnly always calls the move function and ignores keyboard modifiers.
I cannot understand it very well


For to check out the difference, try this:

A)
- copy text cm_RenMov to clipboard
- select a file
- paste cm_RenMov to TCs commando line
- press enter > rename dialog as like cm_MoveOnly

B)
- copy text cm_RenMov to clipboard
- select a file
- paste cm_RenMov to TCs commando line
- hold Shift-key and press enter > inplace rename




Why two commands?
Over time another command may just be need for to use on other place/occasions/circumstances or for to behave different, that's all.

Also read the History.txt for coherencies:
27.05.18 Fixed: Rename with Shift+F6 or Shift+Click on F6 button (invoking cm_renmov):
If a single file is selected, rename that file instead of the file under the cursor
02.04.04 Added: Internal command cm_MoveOnly: always opens move to other window dialog
26.02.94 Copy/Rename/Move/Unpack also possible in the background (so that was cm_renmov)



 
Post Reply