command not working?

December 19, 2010 at 14:05:04
Specs: Windows Vista
im still practicing making programs and im making a kind of navigation program right now for practice. i can't get one part to work though. here is the part of the code im having issues with...

@echo off
color f5
setlocal enabledelayedexpansion
title test program

Call :menu
if "!exit!"=="true" exit /b

echo loading FunctionList...
Call :FunctionList

echo loading ProgramList...
Call :ProgramList


Set Function=
Set /p Function="Which function would you like to use? Type FunctionList for a list of functions "

if /i "%function%"=="FunctionList" (
goto :FunctionList

if i/ "%function%"=="Prompt" (
START cmd.exe

if i/ "%function%"=="ProgramList" (
goto :Programlist

if i/ "%function%"=="DBrowse" (

echo Prompt --> New cmd prompt window
echo ProgramList --> goes to a list of programs
echo DBrowse --> opens default browser
goto menu

now my problem is that when i type in functionlist, it just goes to the pause part. and it adds 3 files to the folder the program is. the 3 programs are opens, new, and goes. the files are what the 3 option are. i need to know how to actually get the list to show up, not just make the files

See More: command not working?

Report •

December 19, 2010 at 14:08:03
nvm, i didnt realize that u cant use the > sign. i took them away and it works

Report •

December 19, 2010 at 15:40:04
echo ^& ^< ^> ^| ^^ ^) %%

Report •

Related Solutions

Ask Question