What does the /par in a .bat file mean?

Posted on 2006-06-07
Last Modified: 2008-02-01

I am learning to do batch files, and came across this /par in my .bat file. I dont know really how it got there, as I was just manually creating the batch. I did just install easy batch creator, but I didnt use that prog. Anyway here is the code that I have in my batch, but I would just like to know what the /par means.

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}}
{\*\generator Msftedit;}\viewkind4\uc1\pard\f0\fs20 ::Test Batch\par
@ECHO ON\par
CD \Program Files\EventLogExplorer\

This is probably an easy question, but if you can tell me why or how all the extra "fluff" got put into the .bat I would greatly appreciate it, and will give some extra points.
Question by:cmoerbe
    LVL 10

    Expert Comment


    Hi - the coding you've posted isn't a batch file as such - it looks like it used to be but it was then open up into an application and incorrectly save as a RTF (Rich Text Format)   The file is essentially damaged now as CMD/DOS won't be able to interpret it correctly.

    I suspect it should look something similar to:

    @ECHO ON
    CD \Program Files\EventLogExplorer\

    which basically changes to a folder called 'Program Files\EventLogExplorer', executes a file called 'elex.exe' and then waits for a keypress from the user.

    However, to answer you question have a look at which explains the RTF format

    Hope that helps..
    LVL 10

    Accepted Solution

    ps. Just incase you don't want to wade through the above Wikipedia entry "\par" means essentially 'new line'


    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    I have published numerous articles here at Experts Exchange that present programs/scripts written in a language called AutoHotkey. Each of those articles has a brief paragraph describing where to download the product and how to install it. I have al…
    This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
    An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now