User User name Password  
   
Tuesday 19.8.2025 / 14:53
Search AfterDawn Forums:        In English   Suomeksi   Pĺ svenska
afterdawn.com > forums > software, operating systems and more > windows - software discussion > printing what's on screen with cmd prompt?
Show topics
 
Forums
Forums
Printing what's on screen with cmd prompt?
  Jump to:
 
Posted Message
mfroot
Newbie
_
19. May 2007 @ 11:50 _ Link to this message    Send private message to this user   
Hi,

I'm using command prompt at the moment for my file exploring needs, but I've come across a few snags and I hope some kind people can help me out!

I use the DIR command alot, i'm wondering, is there anyway I can say use this command "dir/b" then have the results of that command printed into a text file say, on my desktop?
Also, how do I go about running files directly from command prompt? Ssy I would like to run a movie of mine from "C:\Movies\Holiday.avi" How would I go about writing a command for that so it would for instance open it in VLC and automatically make it fullscreen/maximised, is this possible?

Thanks alot guys, I look forward to some replies:)!

Crayon Skills
Advertisement
_
__
Indochine
Senior Member
_
20. May 2007 @ 07:17 _ Link to this message    Send private message to this user   
to get the result of a dir command into a text file you redirect it with the > operator.

dir > "C:\path to wherever\textfile.txt"

To start vlc media player in fullscreen playing a named file:-

type (or include in batch file) its path and name inside quotes, followed by vlc options and then the path and name of the media file in quotes too to be on the safe side.

"C:\Program Files\VideoLAN\VLC\vlc.exe" --fullscreen "E:\multimedia\Dartacan\series 1\Dartacan s1 19 La gran prueba.avi"

I just tried it and it works.

On m'a dit que je suis nul ŕ l'oral, que je n'peux pas mieux faire !

This message has been edited since posting. Last time this message was edited on 20. May 2007 @ 07:21

mfroot
Newbie
_
20. May 2007 @ 10:30 _ Link to this message    Send private message to this user   
Thank you very much! Worked a treat^^

Thanks again, Indochine. See you around!

Crayon Skills
Indochine
Senior Member
_
20. May 2007 @ 10:38 _ Link to this message    Send private message to this user   
this was your homework, wasn't it?

On m'a dit que je suis nul ŕ l'oral, que je n'peux pas mieux faire !

This message has been edited since posting. Last time this message was edited on 20. May 2007 @ 10:39

Advertisement
_
__
 
_
mfroot
Newbie
_
20. May 2007 @ 10:56 _ Link to this message    Send private message to this user   
Oh sorry, your right, it was :D I totally forgot about it and was just curious on the operations of command prompt. Nah, i'm kiddin' it's so I can list files and folders easier when i'm showing collections to friends :)

Crayon Skills
afterdawn.com > forums > software, operating systems and more > windows - software discussion > printing what's on screen with cmd prompt?
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2025 by AfterDawn Ltd.

  IDG TechNetwork