Maybe adding a '.' after $(ItemDir) will also work:
$(ItemDir).
This will probably generate "D:\AppForms\SP1_Forms\SP1_Forms\.", which is equivalent to "D:\AppForms\SP1_Forms\SP1_Forms".
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
In my External Tools... I have a command with $(ItemDir) in the Arguments field. I want this to return the directory of the item without any trailing backslashes for filename, like the following:
D:\AppForms\SP1_Forms\SP1_Forms
However, it is including an extra backslash & double quote like the following:
D:\AppForms\SP1_Forms\SP1_Forms\"
How can I avoid the trailing \" ?
Maybe adding a '.' after $(ItemDir) will also work:
$(ItemDir).
This will probably generate "D:\AppForms\SP1_Forms\SP1_Forms\.", which is equivalent to "D:\AppForms\SP1_Forms\SP1_Forms".
Hi njsokalski,
You can try to type this command: "$(ItemDir)"
.
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our *
*documentation* to enable e-mail notifications if you want to receive the related email notification for this thread.**