should not this be enough?
Yes it is.
instead of "create a button" you can also drag 'n drop the saved vbs file on an empty place of the button bar.
this create new button part confuses me the most
Create a new button:
Code: Select all
TOTALCMD#BAR#DATA
C:\Tools\totalcmd\Scripts\MoveFiles2SubFolders.vbs
%L 6
C:\Windows\System32\WScript.exe
Move file(s) to sub folder(s)
C:\Tools\totalcmd\Scripts\
-1
Just as short explanation against your confusion.
The code block above contains the clipboard content of a button created using the context menu command "copy" of my personal test button.
- You can mark the code block content again and copy the marked block into the clipboard.
- Paste it (using the context menu) onto a empty place of your button bar to create a new button.
A very simple way to submit button declarations within a forum post.
But you need to adapt the location of your saved vbs file and change the parameter field from
"%L" 6 to
"%L" -1 1, otherwise only the first 6 characters would be used to create the folder.
So you're right, what you did was easier in this case.
Regards
Holger