Jump to content

I am a simple man with a simple problem...

I need help writing a batch script to press Control + Shit + R....

It has to be in batch script since I will be running this on a server and it has to be light weight as possible without installing any applications.

The reason why I need this script is to automate a task on a server... 

Link to comment
https://linustechtips.com/topic/924907-simple-code-simple-help/
Share on other sites

Link to post
Share on other sites

yes i took a yes

 

Ion (Main Build)                                                                                        Overall Setup

i5 6500 3.2 GHz                                                                     -Blue snowball (White) thanks goodwill

MSI Mortar Arctic                                                                   -Logitech K120

Asus 1060 6GB Dual                                                             -Logitech Daedalus Prime G302

PNY CS1311 120 GB                                                            -Mousepad I made in 1st grade with my name on it                                                 

WD Caviar Blue 1 TB                                                              

Crucial Ballistix Sport LT White 16GB (8x2GB) 2400

NZXT S340 White

Corsair CXM 450W 

 

Lenovo H320 (Old Pre-built PC)                                      Possible upgrade for H320          

i5 650 3.2 GHz (heh)                                                                                    Xeon X3470

Motherboard unknown                                                       Same Motherboard

iGPU                                                                                   GT 1030 (MSI Low Profile Half Height)

Crucial 240GB SSD                                                           Crucial 240GB SSD

6GB DDR3 (4+2GB)                                                           8-10GB DDR3 (4+2+2GB/4+4+2GB)

Lenovo H320 case                                                             Lenovo H320 case

Unknown PSU (210W?)                                                     Same PSU (210W?)    

Link to comment
https://linustechtips.com/topic/924907-simple-code-simple-help/#findComment-11323026
Share on other sites

Link to post
Share on other sites

https://www.codeproject.com/Tips/647828/Press-Any-Key-Automatically-Usi

 

There might be other things, but if I were writing a script, I would see why a command needs some keyboard input and why it's not an argument. If the command is really to launch a GUI that installs something, then see if it comes with an unattended mode.

 

Also the OP says "batch script" which implies a script for Windows. If this is not the case, then the command line interpreter needs to be known.

Link to comment
https://linustechtips.com/topic/924907-simple-code-simple-help/#findComment-11323947
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×