![]() |
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-11 09:51 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS批处理 & 脚本技术(批处理室) » Help: Batch script to create a new folder |
| Printable Version 3,029 / 18 |
| Floor16 3742668 | Posted 2006-11-13 06:27 |
| 荣誉版主 Posts 718 Credits 2,013 | |
|
Didn't read the post carefully.
SendTo+ Batch Processing Practical Small Tool -- Enhanced Send To |
|
| Floor17 ruty00 | Posted 2009-02-14 12:54 |
| 新手上路 Posts 3 Credits 4 | |
|
Although it is an old post. But recently I also encountered the same problem as the original poster. In fact, the original poster's idea still has certain application value. ccwan thinks that putting the shortcut in the system quick launch is the same as right-clicking to create a new one in the resource manager. The problem is that I now need to create new folders (more than dozens) in different directories (more than dozens) every day. In this way, I have to keep copying batch files. Therefore, I have the same idea as the original poster, hoping to have a way to automatically run the batch file to create folders in the newly opened window. I personally think that the batch file may not be able to realize such a function (it can be done at the command line, but I haven't thought of a good way in the Windows window mode).
|
|
| Floor18 ruty00 | Posted 2009-02-14 13:14 |
| 新手上路 Posts 3 Credits 4 | |
|
Got an idea. Add the function to open the command line in the system right - click pop - up menu, and run the batch processing in the opened window to create folders in batches. New problem: Can the batch processing program be directly added to the right - click menu to run? (This should be able to solve the path problem of creating folders.)
|
|
| Floor19 netbenton | Posted 2009-02-14 13:19 |
| 银牌会员 Posts 752 Credits 1,916 From 广西 | |
|
Drag and drop a folder line, and you can randomly create a sub - directory under its directory
@echo off if "%1"=="" (md "%cd%\%random%") else (md "%1\%random%") pause [ Last edited by netbenton on 2009-2-14 at 11:38 ] |
|
| Prev 1 2 |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |