[TIB] Re: DOS programming


[Prev][Next][Index][Thread]

[TIB] Re: DOS programming



By "DOS program" do you mean a batch file (.bat), a command-line C 
executable (.exe) or something else?

Jeremy Butcher wrote:
> Hi, I am writing a dos program and a few others and having problems with 
> the if statements
> 
> Example code
> 
> Input “c:\”,com
> 
> If com=cls Then:ClrIO:Goto start:EndIf
> 
> If left(com,2)=cd Then:setfold(right(com,3)):goto start:EndIf
> 
>  
> 
> It works if I type in cls
> 
> But anyother command and it says failed to return a true or false 
> statement…please help.
> 
>  
> 
> Also if anyone knows I use flib and flib2 and that makes a list of all 
> the files in the folder, but how do I find out how many vars are in 1 
> list? This way I can disp them all on the screen. Thanks
> 
>  
> 
> Jeremy Butcher
> 

-- 
Robert Mohr
mohr.42@osu.edu
mohrr@cis.ohio-state.edu




References: