drgt wrote:@aGerman
See following error:
G:\>dir /a-d /b /s|findstr /n
FINDSTR: Bad command line
You forgot the dot. It matches "any character". See my origin command line:
Code: Select all
dir /a-d /b /s|findstr /n .
Regards
aGerman
drgt wrote:@aGerman
See following error:
G:\>dir /a-d /b /s|findstr /n
FINDSTR: Bad command line
Code: Select all
dir /a-d /b /s|findstr /n .
Code: Select all
@echo off
set A=1
set B=2
set C=3
set D=4
set E=5
md %A%
cd %A%
md %B%
md %C%
md %D%
md %E%
Code: Select all
set "PathExt=$"
Code: Select all
@echo off
if not exist "aaaa" (
echo COULD NOT FIND 'aaaa' ABORT.
pause>NUL
goto :eof
)
:MENU
echo your stuff here ...
pause