Computer Help and Spyware Removal Computer Help and Spyware Removal Computer Help and Spyware Removal Computer Help Forums Windows Startup Programs Database Spyware and Malware Removal Guides Computer Tutorials Uninstall Database File Database Computer Glossary Computer Resources
 

Welcome Guest ( Log In | Click here to Register a free account now! )



Register a free account to unlock additional features at BleepingComputer.com
Welcome to Bleeping Computer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.
Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

 
Reply to this topicStart new topic
> Question With A Batch File, Want to echo a > character
Fredil Yupigo
post Feb 6 2008, 08:58 PM
Post #1


Member
**

Group: Members
Posts: 34
Joined: 3-May 07
Member No.: 128,666



Is it possible? I want to have a batch file echo the > character on a line, producing some output like this

QUOTE
asdf>asdf>asdf>asdf

However that's impossible because > is a command to write text to a file.

Wrapping the whole echo command in quotes makes it work, but unfortunately it echoes the quotes.

Any way to have the > appear? Thanks thumbup.gif
Go to the top of the page
 
+Quote Post
M...
post Feb 7 2008, 04:44 PM
Post #2


Forum Regular
***

Group: Members
Posts: 241
Joined: 2-June 07
Member No.: 134,300



http://technet.microsoft.com/en-us/library/bb490897.aspx

"To display a pipe (|) or redirection character (< or >) when you are using echo, use a caret character immediately before the pipe or redirection character (for example, ^>, ^<, or ^| ). If you need to use the caret character (^), type two (^^)."


This post has been edited by M...: Feb 7 2008, 05:19 PM
Go to the top of the page
 
+Quote Post
Fredil Yupigo
post Feb 7 2008, 05:38 PM
Post #3


Member
**

Group: Members
Posts: 34
Joined: 3-May 07
Member No.: 128,666



I LOVE YOU!!

wub.gif heart.gif heart.gif specool.gif

Thank you SO much! You rock!
Go to the top of the page
 
+Quote Post
Alan-LB
post Feb 14 2008, 12:21 AM
Post #4


Member
**

Group: Members
Posts: 71
Joined: 15-January 06
From: Junee, NSW, Australia
Member No.: 50,879



WOW - romance at last!!!! Go for it children!!!!


Alan


--------------------
There are 10 types of people - those who understand binary and those who don't!!

Today is the Beta version of Tomorrow!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 7th October 2008 - 11:41 PM


Advertise   |   About Us   |   Terms of Use   |   Privacy Policy   |   Contact Us   |   Site Map   |   Chat   |   Tutorials   |   Uninstall List
Discussion Forums   |   The Computer Glossary   |   Resources   |   RSS Feeds   |   Startups   |   The File Database   |   Malware Removal Guides

© 2003-2008 All Rights Reserved Bleeping Computer LLC.