Windows 10: Help with the creation of a (to me) complicated bat file

Discus and support Help with the creation of a (to me) complicated bat file in Windows 10 Gaming to solve the problem; Hi people! I have a pretty complicated (to me) task to accomplish. I have a notebook with Windows 10 64 bit turned into a media-retrogaming living... Discussion in 'Windows 10 Gaming' started by Brand, May 20, 2020.

  1. Brand Win User

    Help with the creation of a (to me) complicated bat file


    Hi people! I have a pretty complicated (to me) task to accomplish.

    I have a notebook with Windows 10 64 bit turned into a media-retrogaming living room PC.

    I use both emulators, old pc games and Steam games. I use two Playstation 3 controllers, connected with a bluetooth dongle and managed by the mighty ScpToolkit in order to emulate an Xbox360 controller. Why? Because I'm using both emulators and Steam games. Steam games only work with an Xbox360 controller and I didn't want to buy a new pair.

    Ok, let's move on. ScpToolkit needs a service to run properly but I don't want it to start everytime I start the pc, simply because I only need it when I play some games. And it makes the bluetooth dongle bling like a Christmas tree.

    So, I have created a bat file to instantly launch the Ds3Service by writing: sc start "Ds3Service". It works like a charm, but I have to run it as an administrator and click the UAC prompt. First world problems.

    Now here comes the real deal. I would like to create a bat file that launches firtst "Ds3Service_Start.cmd" as administrator (or the process itself withouth having to create a reserved cmd), with no UAC prompt, NO cmd window visible and with the capability of turning the cmd off after it ran. Than after the process is running and the cmd closed, the bat file should start Emulationstation.exe.

    I have already done some homework and I followed this guide to created an eleveted program shortcut. What I cannot do, even after reading the comment below, is to make the whole thing completely silent and to let it close itself.

    Here's what I get after running the shortcut created following the guide:

    C:\Windows\system32>sc start "Ds3Service"

    NOME_SERVIZIO: Ds3Service
    TIPO : 10 WIN32_OWN_PROCESS
    STATO : 2 START_PENDING
    (STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
    CODICE_USCITA_WIN32 : 0 (0x0)
    CODICE_USCITA_SERVIZIO : 0 (0x0)
    PUNTO_CONTROLLO : 0x0
    INDICAZIONE_ATTESA : 0x0
    PID : 4028
    FLAG :

    C:\Windows\system32>

    and the cmd window stays there. I have tried to create a bat file with this inside:

    @Echo off
    Start /MIN "" C:\Windows\System32\schtasks.exe /run /tn "Ds3Service_Start"
    exit

    With no luck. It correctly and instantly starts the process with no UAC prompt, but that window doesn't go away.

    Eternal glory to the super kind man who will be able to help me Help with the creation of a (to me) complicated bat file :)

    :)
     
    Brand, May 20, 2020
    #1

  2. Help with a .bat file.

    I have this .bat file that I've been messing around with:


    Help with the creation of a (to me) complicated bat file [​IMG]


    I got it to open the Windows Update interface:


    Help with the creation of a (to me) complicated bat file [​IMG]


    However, I need the .bat file to go a step further and auto click the Check for updates button circled in orange.

    Can someone help me to finish editing the .bat file so that when I click the .bat file, the process of manually checking for Windows Updates becomes fully automated?
     
    EyeInTheSky, May 20, 2020
    #2
  3. 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, May 20, 2020
    #3
  4. Lucasonas Win User

    Help with the creation of a (to me) complicated bat file

    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, May 20, 2020
    #4
Thema:

Help with the creation of a (to me) complicated bat file

Loading...
  1. Help with the creation of a (to me) complicated bat file - Similar Threads - Help creation complicated

  2. Need help trying to undo a .bat file

    in Windows 10 Software and Apps
    Need help trying to undo a .bat file: Please help, I accidently installed the "Z590 Mystic Light" fix in the support section of ibuypower.com. The problem is I actually have a mag z390 tomahawk. When I enter windows+r and enter msinfo the baseboard product shows Z590 PRO wifi and now my mystic light software...
  3. Need help trying to undo a .bat file

    in Windows 10 Drivers and Hardware
    Need help trying to undo a .bat file: Please help, I accidently installed the "Z590 Mystic Light" fix in the support section of ibuypower.com. The problem is I actually have a mag z390 tomahawk. When I enter windows+r and enter msinfo the baseboard product shows Z590 PRO wifi and now my mystic light software...
  4. 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...
  5. 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...
  6. .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....
  7. 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...
  8. Windows 10 not letting me make bat file need help

    in Windows 10 Network and Sharing
    Windows 10 not letting me make bat file need help: So as the title suggests Win 10 isn't letting me make a bat file. So I make a test file called start.txt I rename it to start.bat and on the right hand side of the file it still says its a text document I think to myself that its odd and input my code into the file just 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. Help with a .bat file.

    in Windows 10 Support
    Help with a .bat file.: I have this .bat file that I've been messing around with: [img] I got it to open the Windows Update interface: [img] However, I need the .bat file to go a step further and auto click the Check for updates button circled in orange. Can someone help me to finish...