![]() |
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-13 07:01 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS学习入门 & 精彩文章 (教学室) » Question: how to md a folder in a batch file!! |
| Printable Version 647 / 4 |
| Floor1 zzync | Posted 2004-02-04 00:00 |
| 初级用户 Posts 25 Credits 193 | |
|
Question: how to md a folder in a batch file!!
|
|
| Floor2 Kinglion | Posted 2004-02-05 00:00 |
| 铂金会员 Posts 1,924 Credits 5,798 From 金獅電腦軟體工作室 | |
|
@echo off
if not direxist c:\DEMO md c:\demo REM This batch file works under DRDOS. |
|
| Floor3 willsort | Posted 2004-02-05 00:00 |
| 元老会员 Posts 1,512 Credits 4,432 | |
|
Re Kinglion:
Where is direxist used? I haven't seen it before. I generally use IF NOT EXIST c:\DEMO\NUL MD C:\DEMO |
|
| Floor4 zzync | Posted 2004-02-05 00:00 |
| 初级用户 Posts 25 Credits 193 | |
|
willsort's is OK!!!
Thanks!!! I found another way to write it @c: @Md DEMO |
|
| Floor5 zzync | Posted 2004-02-05 00:00 |
| 初级用户 Posts 25 Credits 193 | |
|
willsort's is OK!!!
Thanks!!! I found another way to write it @c: @Md DEMO |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |