i had made a working bat script with a menu :
Code: Select all
@echo off
:top
cls
echo select number in a menu below:
echo.
:: this four lines with three-columns below is what i suggested to create automatically using batch script:
echo.1.STATUS 2.ADDPIC 3.ADDPICD
echo.4.ALBUMS 5.ALLINFO 6.APICS
echo.7.COMMENT 8.DELPOST 9.FONLINE
echo.10.STREAM 11.like 12.POST
echo.
set /p "m=chosen number: "
set "n=%m%"
if %m% equ %n% goto %n%_here
:1_here
start "" fbcmd.bat status
goto top
but due to laziness of typing and i want help to give me an automatic script to give output result below as describe above with a comment:
Code: Select all
echo.1.STATUS 2.ADDPIC 3.ADDPICD
echo.4.ALBUMS 5.ALLINFO 6.APICS
echo.7.COMMENT 8.DELPOST 9.FONLINE
echo.10.STREAM 11.like 12.POST
that are coming from my text file with a total lines of 67 lines(but i cut it to 12 lines as for testing purpose) below:
Code: Select all
STATUS
ADDPIC
ADDPICD
ALBUMS
ALLINFO
APICS
COMMENT
DELPOST
FONLINE
STREAM
LIKE
POST
anyway i had other plans to create as many menus as possible and waiting for helpful bat script for faster processing.
and i repeat i want helpful script that from this input:
Code: Select all
STATUS
ADDPIC
ADDPICD
ALBUMS
ALLINFO
APICS
COMMENT
DELPOST
FONLINE
STREAM
LIKE
POST
to this output:
Code: Select all
echo.1.STATUS 2.ADDPIC 3.ADDPICD
echo.4.ALBUMS 5.ALLINFO 6.APICS
echo.7.COMMENT 8.DELPOST 9.FONLINE
echo.10.STREAM 11.LIKE 12.POST
to be use as embed to batch script in menu like GUI.
if it had an answer then it is very easy and fast to create batch menu. thanks to helping hands.
thank again to a helping hands.
Bars