How to pass a local file name to css-validator.jar?

Tags: command-line,css-validator

Problem :

I'm trying to open a file from the filesystem with css-validator.jar. I tried:

java -jar css-validator.jar C:\filename and
java -jar css-validator.jar file:\\\filename

but neither worked.

What am I doing wrong?

Solution :

Figured it out on my own: command used in directory of jar is like this:

java -jar css-validator.jar -output gnu file:///"Directory of file"\"name of css file".css

You can then add > or >> and a text type file extension (.txt, .html, .xml, .doc[but not .docx]) to output to file. the gnu can also be text, xml, or a couple other formats.

    CSS Howto..

    How to pass array from method to property using PHP

    How to position button in the middle

    CSS `will-change` - how to use it, how it works

    How to center text horizontally and vertically within box element? [duplicate]

    How to slow down the last few frames in a CSS sprite animation?

    How to keep floated width of divs to stay exact instead of 100%?

    How to vertically center h1 and span in a li

    How to use a custom toggle switch in jquery mobile

    How to make an image not overlap navigation bar in CSS/HTML [closed]

    How can I switch overlapped elements with CSS transitions?

    How to animate transitions triggered by links

    How to display the :after content outside element

    Show Link on image at hovering in jquery

    how to display a dropdown ul two per row

    How to color the Horizontal and Vertical Lines at (0,0) darker in JavaFX

    How to wrap text in table cell without wrapping child elements

    How should you comment css? [closed]

    How to add a .css to a .cshtml

    How to squash a div vertically and keep element below 100% on screen

    How to print on a specific paper

    bootstrap select show only dropdown-menu on link click without the select button

    How do I get pictures side by side (responsive)

    How to add a css on a div by finding a children class on its sibling div by jquery

    How to create vertical text using only CSS?

    CSS help, how to target this link inside of div

    How do you use CSS to make a group of images that flow over the edges of the browser window?

    How to override Liferay core' css?

    I would like to have the users change the CSS using an optional panel. How should I do this? [closed]

    How to make my button display two different images once clicked?

    How do i make this nav 100% wide?