中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-08 23:19
47,811 topics / 349,895 posts / today 0 new / 48,253 members
DOS批处理 & 脚本技术(批处理室) » The meaning of \\?\%1 is: The \\?\ is a prefix used in the Windows long path syntax. It allows paths longer than the traditional 260 - character limit. %1 is a placeholder for the first command - line argument passed to the batch script. So overall, this part is used to represent a path that can potentially be a long path and is taking the first argument as that path for the `rd /s/q` (remove directory / silent / quiet) operation.
Printable Version  5,471 / 16
Floor16 haiou327 Posted 2008-06-02 19:47
高级用户 Posts 348 Credits 713
Originally posted by ggyy66 at 2008-6-2 05:29 PM:
What does \\?\ mean?


Avoid Windows from checking the legality of file names.

[ Last edited by haiou327 on 2008-6-2 at 07:55 PM ]
Floor17 echo Posted 2008-06-02 20:26
初级用户 Posts 69 Credits 148
Originally posted by zw19750516 at 2008-6-1 01:37 AM:
\\?\ refers to any path
%1 is the file you want to delete


Is it really that powerful? Oh, I don't even dare to try it...
Prev  1 2
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023