Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Can someone help me make a .bat file?


25 Apr 2009   #1

7264x64/7260x86
 
 
Can someone help me make a .bat file?

I want to creat a file that toggles my screen between portait and landscape, as well as moving my taskbar from the "right" side of the screen to the "left" side which is now the top.




Attached Thumbnails
Can someone help me make a .bat file?-land.png   Can someone help me make a .bat file?-vert.png  
My System SpecsSystem Spec
.

25 Apr 2009   #2
zay

Windows 7 Ultimate
 
 

Not sure why you want to do that, but wouldn't it be simpler to just drag the taskbar where you want it. Also, just to be clear, do you want to change your main screen from portrait to landscape? I am not sure that function is built into windows 7 OS, if it is, show me. Then I might be able to write a vb script that does that for you. It might also be built into the video card's control panel. If is a builtin function in the OS, then the script might be possible, if it builtin to the card's control panel, then no.
My System SpecsSystem Spec
25 Apr 2009   #3

Windows 7 Ultimate x86
 
 

right click desktop and then choose screen resolution to get to this page
Can someone help me make a .bat file?-capture4.png
then orientation to change from portrait to landscape


My System SpecsSystem Spec
.


25 Apr 2009   #4

7264x64/7260x86
 
 

Yeah, this is for my netbook w/ touchscreen. I know the options are there, but I would like to be able to quickly switch back and forth. For note taking and reading large texts.

It's rather annoying to go into the resolution options, and dragging the taskbar everytime I want to switch.

Thanks for the screencap redsox.
My System SpecsSystem Spec
25 Apr 2009   #5

 

I would think that your netbook would have settings to that effect - my Tablet PC does - I can set the orientation to face either way when it is rotated into tablet mode, and with a bit of work I should be able to force the taskbar on the other edge, methinks....
My System SpecsSystem Spec
26 Apr 2009   #6
zay

Windows 7 Ultimate
 
 

I assume this is only available on netbooks\ tablet pc. I do not see that option on my desktop.


Attached Thumbnails
Can someone help me make a .bat file?-no-option-orientation.jpg  
My System SpecsSystem Spec
26 Apr 2009   #7

7264x64/7260x86
 
 

I added a third party touchscreen to my netbook, so there's no inherent features/buttons to change the orientation. Just the built in windows options through the resolution panel.
My System SpecsSystem Spec
26 Apr 2009   #8

Windows 7 Professional, Windows Longhorn 4074
 
 

I believe the first post here (under multi-monitor support) has your answer.

EDIT: Just right click on the desktop, and make a new notepad file. Name it whatever you want and copy and paste what's written in that guy's post. Find where he has the numbers for the resolution and change them to whatever you would like your resolution set at (length x width). Choose "save as" when your done and keep the same title with .bat at the end, but before you save it, choose to save it as "all files" instead of ".txt".
My System SpecsSystem Spec
26 Apr 2009   #9
zay

Windows 7 Ultimate
 
 

I looked at that post, it addresses resolution, but not orientation. It is still a good script to have, but the OP wants something to change his orientation. I do not seem to have that feature on my desktop. Once again, I assume it is only available on tablet \laptops. Do any of you guys have that option on your desktop?

Try this tool.
EnTech Taiwan | Utilities | iRotate


Attached Images
 
My System SpecsSystem Spec
26 Apr 2009   #10

Windows 7 Professional, Windows Longhorn 4074
 
 

Well you could just make two files and switch the numbers around, couldn't you?
My System SpecsSystem Spec
Reply

 Can someone help me make a .bat file?




Thread Tools



Similar help and support threads for2: Can someone help me make a .bat file?
Thread Forum
Solved How to make Executable file? (.exe) Software
Make GPO changes from a batch file? System Security
Solved How to make ISO file out of Windows 7 files Backup and Restore
Solved Can you tell me what I need to make this batch file run? General Discussion
cant make a batch file:) General Discussion
Can't make a .txt file... what? General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:19 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33