How to set background using dos?

Asked By 60 points N/A Posted on -


Hello experts,


How to set background using dos? My computer has an operating system of windows XP is the setting compatible? Please consider the compatibility measurement to avoid errors in the future. Thank you

Answered By 10 points N/A #145857

How to set background using dos?



·        First go to desktop, do so by minimizing open windows

·        Then right click your mouse and choose the properties section

·        The “Display Properties” window will show up.

·        Click on the “Desktop” tab

·        Scroll through the pre-installed image options or click “Browse…” to choose your own image

·        If you choose to have your own personal image, under “Browse…”, find the location of your picture, select the image, then click “Open”

·        Under “Position”, choose if you want the image to be in “Center”, “Tile”, or “Stretch” mode

·        Once you are content with the settings, click “OK”

Answered By 574090 points N/A #282984

How to set background using dos?


If what you mean by change the background is change the wallpaper in your desktop from the command line, yes it is possible. Though you can change your wallpaper from the command line, the easiest way to do it is still from the Windows GUI and it is limited only to BMP files (.bmp), unfortunately.

You cannot change the wallpaper and use a JPG (.jpg), GIF (.gif), or PNG (.png) image. The image you’ll be using has to be a bitmap file. Anyway, here’s how to do it. First, prepare a bitmap image (.bmp) that you will be using for the wallpaper. Once you have a BMP file for the wallpaper, take note of its path, for example “D:\photos\fireup.bmp”.

Next, click “Start”, “All Programs”, “Accessories”, and then select “Command Prompt”. In the command prompt, type the following command then hit Enter:

reg add “HKEY_CURRENT_USER\Control Panel\Desktop” /v Wallpaper /t REG_SZ /d D:\photos\fireup.bmp /f

After editing the registry key, type without quotes “RUNDLL32.EXE user32.dll, UpdatePerUserSystemParameters” then hit Enter. If you are using Windows 7 and the “RUNDLL32.EXE” command is not working, try to log off and log in back. It should update the wallpaper after that. This was tested on Windows XP. If you are using a newer operating system, it may or may not work.

Login/Register to Answer

Related Questions