Hello Egor, > So, why _dir /p_ and _dir "/p"_ work not identically? Whereas _ren 1 2_ and > _ren "1" "2"_ work identically. In windows, the expansion of wildcards and special characters is done by the program and not by the shell. This means that in the first usage dir sees a /p parameter where in the 2'nd usage it looks for a file named "/p". HTH. Miki