Home / Microsoft / Microsoft DOS / USE DROP CAP in command prompt
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] - (Bottom) Print
Author Topic: USE DROP CAP in command prompt  (Read 451 times)
gopinath
Topic Starter
Rookie



Posts: 22


« on: November 17, 2009, 04:27:51 AM »

How to display the text as drop cap in command prompt

Example

I want to display the text as Sri Software in command line

S is common to both Sri and Software.

 so i want to display Single S for both Sri and Software

How? in command prompt  ----> how i use drop cap in command line



Drop cap is possible in the command prompt, but i forgot -- please help to do this in command prompt
« Last Edit: November 17, 2009, 06:05:55 AM by gopinath » IP logged
gpl
Apprentice



Thanked: 25
Posts: 546




« Reply #1 on: November 17, 2009, 04:31:16 AM »

What exactly do you mean by drop cap ?

In the command prompt, you pretty much get what you see - with few font selections available
IP logged
Helpmeh
Egghead



Thanked: 116
Posts: 3,583

Experience: Experienced
OS: Windows XP


Roar.

1
« Reply #2 on: November 17, 2009, 04:47:39 AM »

Like remove all capitals in the input?

You could create 26 lines of this (changing it as needed).

Set variable=%variable:A=a%
IP logged

Where's MagicSpeed?
Quote from: 'matt'
He's playing a game called IRL. Great graphics, *censored* gameplay.
gopinath
Topic Starter
Rookie



Posts: 22


« Reply #3 on: November 17, 2009, 05:01:30 AM »

Example

I want to display the text as Sri Software in command line

S is common to both Sri and Software.

 so i want to display Single S for both Sri and Software

How? in command prompt  ----> how i use drop cap in command line
IP logged
gopinath
Topic Starter
Rookie



Posts: 22


« Reply #4 on: November 17, 2009, 05:02:02 AM »

--
IP logged
gpl
Apprentice



Thanked: 25
Posts: 546




« Reply #5 on: November 17, 2009, 05:22:40 AM »

If I said that you cant, it wouldnt help -- you could try special line drawing characters to make up the S
Code: [Select]
┌──
└─┐ ri
──┘ oftware
IP logged
Salmon Trout
Prodigy



Thanked: 501
Posts: 7,365

Computer: Specs
Experience: Guru
OS: Linux variant

1
« Reply #6 on: November 17, 2009, 05:27:32 AM »

I understand what a drop cap is. You cannot do this using the fonts available in the command window.



However you can do something fairly crude like this in a batch file

Code: [Select]
echo.
echo    ######
echo   #      #
echo   #         ri
echo    ######
echo          #  oftware
echo   #      #
echo    ######
echo.

or this

Code: [Select]
echo.
echo    @@@@@@
echo   @      @
echo   @         ri
echo    @@@@@@
echo          @  oftware
echo   @      @
echo    @@@@@@
echo.

If you have a text editor with search/replace it is easy to try different characters like x, * @, # or whatever you want. it will be a lot easier (!) to visualise the final result if you set the editor to use monospaced fonts such as Courier New or Lucida Console.

IP logged

Pages: [1] - (Top) Print 
Home / Microsoft / Microsoft DOS / USE DROP CAP in command prompt « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.082 seconds with 20 queries.