Search found 3 matches
- 11 Mar 2020 04:27
- Forum: DOS Batch Forum
- Topic: Simple String Problem
- Replies: 2
- Views: 3920
Re: Simple String Problem
Thank You jeb , , this forum is awesome
- 10 Mar 2020 23:34
- Forum: DOS Batch Forum
- Topic: Simple String Problem
- Replies: 2
- Views: 3920
Simple String Problem
@echo off set string=Hello set ab = Batch set b = Programming if [%string%]==[] echo "String is empty" if [%string%] NEQ [] echo String is %string% echo %ab% %b% The code should print out String is Hello Batch Programming ... but instead it is printing out something else... i am attaching an image ...
- 10 Mar 2020 08:36
- Forum: DOS Batch Forum
- Topic: choice command problem
- Replies: 1
- Views: 3248
choice command problem
@echo off echo "Choose the file size" echo "A:10MB" echo "B:20MB" echo "C:30MB" choice /c ABC /m "Choose Now :)" I saved this script in the batch file and when tried executing it in a shell , it goes on and on in an endless loop and doesn't allow the user to choose ... Why is it happening . :cry: I...