New File Wizard - nf.exe

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
maroka
Junior Member
Junior Member
Posts: 25
Joined: 2007-11-06, 15:03 UTC

New File Wizard - nf.exe

Post by *maroka »

Hi,

i added the following text to my usercmd.ini and put em_nf_wizard on a shortcut. problem now is, that it does not work if the path/folder has spaces in it. it creates the file, but not in the acual folder.

thx for helping

[em_nf_wizard]
button=%commander_path%\Tools\New File Wizard\nf.exe
cmd=%commander_path%\Tools\New File Wizard\nf.exe
param="%P"
path=
menu=New File Wizard
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3893
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

param="%P"
As a matter of fact, Windows removes the outer doublequotes at reading the value.

Just double the doublequotes to overcome this.

Code: Select all

param=""%P""
#5767 Personal license
maroka
Junior Member
Junior Member
Posts: 25
Joined: 2007-11-06, 15:03 UTC

Post by *maroka »

thx man!
Post Reply