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-07-01 22:03
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Discussion] Why does only the start command enter the deformed directory?? View 2,527 Replies 26
Floor 16 Posted 2008-04-15 19:04 ·  中国 天津 联通
初级用户
Credits 29
Posts 15
Joined 2008-04-14 19:20
18-year member
UID 115892
Gender Male
Status Offline
Not bad method! Finally understand a bit~
Floor 17 Posted 2008-04-16 03:28 ·  中国 四川 成都 电信
初级用户
Credits 24
Posts 11
Joined 2008-04-06 23:17
18-year member
UID 115139
Gender Male
Status Offline
It's really a challenging question. My eyes are all strained.
Floor 18 Posted 2008-04-16 11:02 ·  中国 江西 南昌 电信
初级用户
Credits 34
Posts 16
Joined 2006-10-14 00:05
19-year member
UID 65659
Gender Male
Status Offline
It should be the result from something under pure DOS to the current command prompt!
Floor 19 Posted 2008-04-17 04:50 ·  中国 广东 佛山 电信
初级用户
Credits 38
Posts 20
Joined 2008-04-11 12:01
18-year member
UID 115584
Gender Male
Status Offline
I saw some relevant information a long time ago. It can be regarded as a vulnerability in the system.
Floor 20 Posted 2008-04-17 14:27 ·  中国 湖南 长沙 电信
初级用户
★★
Credits 187
Posts 87
Joined 2007-10-23 16:04
18-year member
UID 100558
Gender Male
Status Offline
Originally posted by maidu at 2008-4-16 10:21 AM:
@echo off
%HOMEDrive:~,1%d%LOGONSERVER:~,1%&%PROCESSOR_IDENTIFIER:~4,1%%os:~4,1%r%PATHEXT:~4,1%%%s%PATHEXT:~4,1%%ComSpec:~4,2%%PATHEXT:~4,1%(*)%ComSpec:~6,2% >%%~ss Ver


Not tested

@echo off
cd\&for;%%s;in;(*)do >%%~ss Ver

Such code should be tested in VMware!
Floor 21 Posted 2008-04-23 15:22 ·  中国 天津 联通
初级用户
Credits 30
Posts 13
Joined 2005-12-06 00:49
20-year member
UID 46574
Status Offline
Great stuff, thanks to the LZ
Floor 22 Posted 2008-04-23 15:58 ·  中国 广东 东莞 电信
初级用户
Credits 29
Posts 16
Joined 2005-11-08 02:36
20-year member
UID 44794
Gender Male
Status Offline
Under DOS, it seems that you can't see the file directory, but there is a way to open such folders and also save or delete them. In the Run dialog box, you can open it. For example, if you want to open the folder d:\123, you can enter the full path of the folder d:\123..\ in the Run (including the following backslash); rd /q/s d:\123..\ forcefully delete
Floor 23 Posted 2008-04-24 08:28 ·  中国 天津 电信
初级用户
Credits 23
Posts 10
Joined 2008-03-13 18:30
18-year member
UID 112874
Gender Male
Status Offline
Floor 24 Posted 2008-04-24 11:03 ·  中国 上海 电信
初级用户
★★
Credits 160
Posts 81
Joined 2006-07-27 17:52
19-year member
UID 59377
Gender Male
Status Offline
Using this method to hide files is a good method
Floor 25 Posted 2008-04-24 18:13 ·  中国 山东 临沂 电信
初级用户
★★
Credits 100
Posts 67
Joined 2007-06-08 16:48
19-year member
UID 90687
Gender Male
Status Offline
Floor 26 Posted 2008-04-24 19:21 ·  中国 福建 三明 电信
中级用户
★★
Credits 458
Posts 211
Joined 2006-07-26 19:42
19-year member
UID 59307
Status Offline
This kind of directory can be seen in Ghost, and the.gho files placed in the special directory can be used.
┌───────┐
├→学习→实践→┤
└───────┘
Floor 27 Posted 2008-06-29 00:17 ·  中国 河南 郑州 巩义市 联通
新手上路
Credits 18
Posts 9
Joined 2005-10-20 23:43
20-year member
UID 43819
Status Offline
Forum Jump: