Batch file programming : A+1=b??

i am writing a piece of code in batch file to check if a drive exist or not here it is
-------------------
#-Link-Snipped-# off
if exist C:\windows (
echo ~%d0 Found>ComputerDrives.text
)
else (
echo Not found
)
Pause
---------------
now what i want is if i can manipulate the drive name in for statement i.e.
for(i=a,i=z,i++)
but the problem is the alphanumeric letters are not increasing with arithmetic operator ,and in batch file there is not an option of enum.
What can i do??

Replies

You are reading an archived discussion.

Related Posts

i am starting this discussion so that everone say thanks to CE,describe how CE helps you over these years and say thanks for it 😀
The ban was ordered in response to a complaint filed by Ericsson for infringement of its Standard essential pateints. The patents are allegedly related to AMP (Adaptive MultiRate) technology (that...
After launching two new mid-range smartphones this week, Acer has now launched its popular Chromebook C720 in India. The Taiwanese company has once again collaborated with Snapdeal to launch its...
Japanese multinational conglomerate Toshiba has launched the WT8-B tablet in India at an economical price of Rs 15,499. The tablet was launched on Wednesday especially as an item of online...
BitTorrent has announced an invite only project to build the distributed web. What does that really mean? The details aren't out yet, but the overall plan seems to be targeted...