Windows 10: Looking to write a .bat file that emulates keystrokes

Discus and support Looking to write a .bat file that emulates keystrokes in Windows 10 Ask Insider to solve the problem; My HTPC and my Sony receiver don't play nicely together sometimes, and often requires that I reset the video driver at startup by pressing... Discussion in 'Windows 10 Ask Insider' started by /u/dl77002, Jan 25, 2020.

  1. Looking to write a .bat file that emulates keystrokes


    My HTPC and my Sony receiver don't play nicely together sometimes, and often requires that I reset the video driver at startup by pressing WIN+CTRL+SHIFT+B.

    I'm hoping to write a .bat file (or any other method) to run these commands at login, so that A) I don't need to fumble with these keys each time there's an issue, and B) my girlfriend doesn't need to troubleshoot / learn hotkeys for when I'm not home and it's being difficult.

    Thanks in advance for any assistance!

    submitted by /u/dl77002
    [link] [comments]

    :)
     
    /u/dl77002, Jan 25, 2020
    #1

  2. Updating .bat File, Removing Default Apps


    Hi SightUp.

    Don't have a bat file but step 4 in Option 2 will give you complete list and you can mod yours.

    Uninstall Apps in Windows 10


    Ken
     
    Caledon Ken, Jan 25, 2020
    #2
  3. BAT file/Script to find and replace files

    Hey all....

    Can someone help me make the BAT script in the 2nd post above to be able to use MORE than "1" file?
    As it currently is, you can only replace one particular file.

    For example, I want in the command line to be able to write two files or more, and the script will find and replace all those 2 or more named files.
    Thanks much.

    P.S.... Is there a GUI that does file searching and replacing?
    I've spent hours searching on the net, and the only thing I can find are "text" search/replace and this BAT command, not actual "file" replacing. I find this amazing. *Frown Looking to write a .bat file that emulates keystrokes :(
     
    leeuniverse, Jan 25, 2020
    #3
  4. Lucasonas Win User

    Looking to write a .bat file that emulates keystrokes

    BAT file/Script to find and replace files

    FordGT90Concept!!!

    Your attachment is very close, it kept all the 5 numerals intact, but like you said: "it will rename them all from "#_Example_720p.zip" to "RAT_Example_#_24f_ONO.zip"...

    Greetings, Streetfighter 2

    I can't seem to get the BAT to work, but I'll still keep on trying.


    Any other suggestions, or BAT scripts Streetfighter & FordGT90Concept?
     
    Lucasonas, Jan 25, 2020
    #4
Thema:

Looking to write a .bat file that emulates keystrokes

Loading...
  1. Looking to write a .bat file that emulates keystrokes - Similar Threads - Looking write bat

  2. Bat file

    in Windows 10 Gaming
    Bat file: I have a bat fileI am improving it bit by bit till I have reached But not i have added a warning to it before a commandI now want to make that line font size Bigger than the others How can I do that ??So here is the Batch file content@ECHO OFF echo...
  3. Bat file

    in Windows 10 Software and Apps
    Bat file: I have a bat fileI am improving it bit by bit till I have reached But not i have added a warning to it before a commandI now want to make that line font size Bigger than the others How can I do that ??So here is the Batch file content@ECHO OFF echo...
  4. Undoing a bat file

    in Windows 10 Network and Sharing
    Undoing a bat file: Hey everyone, so i decided to run a random bat file from the internet to lower my ping in games, BIG MISTAKE long story short, the ping in the games got ALOT worse. is there any way to undo the effects of the bat file?the bat file link :...
  5. .bat files

    in Windows 10 Network and Sharing
    .bat files: So i am trying to make a minecraft server and need to open a .bat file but i keep getting a error saying "This app can not run on this pc" But it worked a month ago i need a solution please....
  6. Bat file

    in Windows 10 Ask Insider
    Bat file: Good morning/evening/night, I wanted to create a batch file or an exe that can change options inside the gui of an application (the application is cisco webex) (if you are familliar with webex i want to change the audio or turn it to music mode witha batch file) but i am...
  7. *.bat -files not starting!

    in Windows 10 Gaming
    *.bat -files not starting!: I have a friend that wants to host a Minecraft server for a few friends, and we put "java -Xmx1024M -Xms1024M -jar server.jar nogui" in "Start.bat" in a folder, but nothing happens when we start the file server.jar is also in that folder! He has Java installed and Windows 10...
  8. renaming Bat file

    in Windows 10 Network and Sharing
    renaming Bat file: Dear all, I need to complete my script .bat file to rename the Res_.pdf to Res_"Folder name". Note: this code is copied from another site its working already but with the following sequence; Res_.pdf to _Res_.pdf Thanks. for /r "PATH" %%G in . do pushd %%G for %%*...
  9. .bat file

    in Windows 10 Customization
    .bat file: I have .bat file it is not working in my new PC when I double click on it. but it was working in my old PC. could your please support how to associate .bat file in windows 10? Kindly looking for your support and reply in this regards. Thanks.....
  10. .bat files changed?

    in Windows 10 Ask Insider
    .bat files changed?: Greetings. Regarding Windows 10. I have a .bat file that I've used for... well, since forever. It rarely changes and it hasn't changed in months. Despite running quite fine in its current incarnation for some months now it's quite recently it's began throwing the error:...