Open a Remote Desktop (RDP) session with a custom resolution.

mstsc /w:1500 /h:900 /v:www.example.com
Using a widescreen monitor, I often get annoyed that the RDP window is too high, or too narrow for what I want to display. In this example, I'm on a 1680 x 1050 display.

1
By: merkmerc
2009-06-25 14:01:42

What Others Think

I don't what platform this command is for (I'm guessing mstsc means MS terminal services client) but for linux there is the rdesktop command which works quite well. Using rdesktop you may specify just about any resolution: rdesktop -g 1500x900 remote.example.com alternate color depths are available with -a and fullscreen with -f. While in fullscreen Ctrl-Alt-Enter toggles you in and out of fullscreen mode.
bwoodacre · 877 weeks and 2 days ago
Yeah, it's on Windows. I assumed that the tags I entered to categorize the commend would be displayed with it, since the site's instructions stated "For instance, if this commands needs a certain shell or OS, use these as tags." Hopefully the tagging feature will be made more robust in the future.
merkmerc · 877 weeks and 2 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: