Skip to main content

doesn't accept <things inside code>

This:

Exactly! You understood correctly. The syntax is %~<option><letter>, where:

  • %<letter>: is the loop variable (e.g. %A, %B), which stores the values of the files or parameters passed to the script.

  • ~<option>: is the modifier you use to extract specific parts of the path or file.

saves as:
Exactly! You understood correctly. The syntax is %~, where:

  • %: is the loop variable (e.g. %A, %B), which stores the values of the files or parameters passed to the script.

  • ~: is the modifier you use to extract specific parts of the path or file.

2 comments

Log in to comment and vote

Comments2

  • Idriss

    Team•

    Feb 12, 2025

    thank you @cauamachado51 for reporting this bug, I will look into it and fix it!

  • cauamachado51

    •

    Feb 11, 2025

    esqueci de contextualizar que estou fazendo anotações, transferindo alguns textos do ChatGPT para notion