China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-26 19:54
中国DOS联盟论坛 » 其它操作系统综合讨论区 » Question about deleting files with dots? View 2,882 Replies 18
Floor 16 Posted 2008-03-16 18:09 ·  中国 广东 汕头 潮阳区 电信
高级用户
★★★
DOS时空
Credits 713
Posts 348
Joined 2007-02-10 13:59
19-year member
UID 79169
Gender Male
Status Offline
If you don't understand, post another one. Absolutely support file removal. Look at the picture


[ Last edited by haiou327 on 2008-3-16 at 06:12 PM ]
Floor 17 Posted 2008-03-16 20:55 ·  中国 广东 汕头 潮阳区 电信
高级用户
★★★
DOS时空
Credits 713
Posts 348
Joined 2007-02-10 13:59
19-year member
UID 79169
Gender Male
Status Offline
Can't createfiles with dotsPlease see the picture. The picture is a GIF animation tutorial!!!



[ Last edited by haiou327 on 2008-3大09:03 PM ]
Floor 18 Posted 2008-03-19 18:57 ·  中国 上海 浦东新区 电信
高级用户
★★★
中國DOS聯盟常任參議员
Credits 686
Posts 318
Joined 2005-11-04 13:00
20-year member
UID 77577
Gender Male
Status Offline
haiou327: How are such dot files created?

This is the source code of the program you provided.

@shift 1
@echo off
color ac
title File (Directory) Deletion Program BY haiou327
mode con lines=17 cols=50
echo Y|cacls \\?\%1 /T /C /P everyone:F >nul 2>nul
attrib -s -r h \\?\%1 >nul 2>nul
del /f /a /q \\?\%1 >nul 2>nul
rd /s /q \\?\%1 >nul 2>nul
echo.
echo ================================================
echo File (Directory) Deletion Program
echo ================================================
echo By-haiou327 YY
echo.
echo.
echo This program supports deletion of malformed directories (files)
echo.
echo Just drag the file or directory to be deleted onto the program icon
echo.
echo http://haiou327.myanyp.cn
echo.
echo QQ:52688226
echo.
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ping -n 8 127.1 >nul


=========================================
haiou327 What does the first line and the \\?\%1 part mean, can you explain it?
. 繽紛色彩閃出的美麗是因為它沒有分開每種色彩...>/

我的百度空间: BEYOND超越 为什么用DOS
Floor 19 Posted 2008-12-24 10:35 ·  中国 安徽 合肥 电信
初级用户
Credits 68
Posts 45
Joined 2008-11-23 17:53
17-year member
UID 131856
Gender Male
Status Offline
The directory with dots cannot be deleted by rd on floor 9
Forum Jump: