• closing apps

    6
    0 Votes
    6 Posts
    3k Views
    L
    @Russ said in closing apps: @lcancio, for some reason you run Calculator with "calc" but the .exe is calculator.exe so you have to close it using the calculator.exe like this: [image: 1611705050230-0516bd3b-6367-4527-8925-fb54c859e829-image.png] Uff. thank you so much for the advise!! it works. Appreciate it.
  • "Restart" Windows 10 Command

    restart
    2
    0 Votes
    2 Posts
    1k Views
    XanderX
    It's just a matter of changing the command itself, mostly changing the /s to a /r. If you type shutdown /? at the command prompt, it'll give you the full list of options.
  • Shutdown command restarts the computer

    2
    0 Votes
    2 Posts
    2k Views
    RussR
    @skainet, If you want to shut the computer down instead of reboot, replace /r with /s. If you type shutdown /?, you'll see all of the shutdown command's parameters. Usage: shutdown [/i | /l | /s | /sg | /r | /g | /a | /p | /h | /e | /o] [/hybrid] [/soft] [/fw] [/f] [/m \\computer][/t xxx][/d [p|u:]xx:yy [/c "comment"]] No args Display help. This is the same as typing /?. /? Display help. This is the same as not typing any options. /i Display the graphical user interface (GUI). This must be the first option. /l Log off. This cannot be used with /m or /d options. /s Shutdown the computer. /sg Shutdown the computer. On the next boot, if Automatic Restart Sign-On is enabled, automatically sign in and lock last interactive user. After sign in, restart any registered applications. /r Full shutdown and restart the computer. /g Full shutdown and restart the computer. After the system is rebooted, if Automatic Restart Sign-On is enabled, automatically sign in and lock last interactive user. After sign in, restart any registered applications. /a Abort a system shutdown. This can only be used during the time-out period. Combine with /fw to clear any pending boots to firmware. /p Turn off the local computer with no time-out or warning. Can be used with /d and /f options. /h Hibernate the local computer. Can be used with the /f option. /hybrid Performs a shutdown of the computer and prepares it for fast startup. Must be used with /s option. /fw Combine with a shutdown option to cause the next boot to go to the firmware user interface. /e Document the reason for an unexpected shutdown of a computer. /o Go to the advanced boot options menu and restart the computer. Must be used with /r option. /m \\computer Specify the target computer. /t xxx Set the time-out period before shutdown to xxx seconds. The valid range is 0-315360000 (10 years), with a default of 30. If the timeout period is greater than 0, the /f parameter is implied. /c "comment" Comment on the reason for the restart or shutdown. Maximum of 512 characters allowed. /f Force running applications to close without forewarning users. The /f parameter is implied when a value greater than 0 is specified for the /t parameter. /d [p|u:]xx:yy Provide the reason for the restart or shutdown. p indicates that the restart or shutdown is planned. u indicates that the reason is user defined. If neither p nor u is specified the restart or shutdown is unplanned. xx is the major reason number (positive integer less than 256). yy is the minor reason number (positive integer less than 65536).
  • Open and close VLC Player

    Moved
    10
    0 Votes
    10 Posts
    8k Views
    RussR
    @Martin-Musso, that's a cool idea. I did some research and figured out how to play a playlist and send the output to a Chromecast device: "c:\Program Files (x86)\VideoLAN\VLC\vlc.exe" c:\playlists\playlist.xspf --sout="#chromecast{ip=192.168.86.25}" --demux-filter=demux_chromecast But, I haven't figured out how to tell it to resume where it left off. This sortof worked, but only for the first thing in the playlist. I tried this extension with no joy. https://addons.videolan.org/p/1154044/ If you do try it, you'll want to download it from the Files tab and manually drop it in C:\Users(your user)\AppData\Roaming\vlc\lua\extensions If you search and install it from within VLC you'll get an old version that's even worse. Reference: https://wiki.videolan.org/VLC_command-line_help/ https://forum.videolan.org/viewtopic.php?t=145868
  • Play On Spotify.exe

    4
    0 Votes
    4 Posts
    2k Views
    RussR
    @Jasbleidy-Lourido-Ortega, please explain. You should be able to say, "Alexa, turn on Night Mood." Is that short enough?
  • does not recognize all commands in windows

    Moved
    3
    1
    0 Votes
    3 Posts
    905 Views
    RussR
    @VladDracko, please try changing that command to a foreground command. Some commands only work as foreground commands, like this one.
  • volume controller with Parameter

    Moved
    2
    1 Votes
    2 Posts
    2k Views
    D
    hi, i can't make working. não consigo fazer funcionar, podem me ajudar
  • Start and stop OBS recording or streaming

    1
    2
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • how do I open a shortcut file?

    6
    0 Votes
    6 Posts
    2k Views
    RussR
    @Noah-Nauman, generally you can use @Igor-Penha's solution and just copy the target from the shortcut and make that your command. [image: 1606871962692-2532dabe-e523-46d2-821f-5927a21d09b2-image.png] Or, if you still want to open an actual shortcut file (.lnk file), you can use the start command, like this: start C:\shortcuts\test.lnk
  • Problem updating programTrigger CMD

    4
    1
    0 Votes
    4 Posts
    1k Views
    RussR
    @André-Ricardo-da-Costa, good. I think you'll have success if you uninstall before re-installing, or if you use that "Update Agent" to upgrade.
  • Qual Comando para ligar o PC Windows 10

    6
    -1 Votes
    6 Posts
    10k Views
    RussR
    @Ivan-Kuler, thanks for doing that video! I watched it, then I liked it and subscribed.
  • Turn on PS4 using Wake on Lan

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • how do I change the browser from one screen to another

    8
    0 Votes
    8 Posts
    4k Views
    XanderX
    For those following along at home, here's what I had to do: https://www.techrepublic.com/article/how-to-track-down-usb-flash-drive-usage-in-windows-10s-event-viewer/ especially Figure B. I couldn't figure out why no events were registering in all the ordinary places and it turns out they get logged in a more obscure on and only if it's been enabled. Once that was done, I un/replugged my USB monitor to create an event and then took an event entry and "assigned task" to it. Oh and, every time the USB glitches out, it gets recognized by Nirsoft's utility as a new display so I had to put a loop in the batch file for Display3 to Display20 to move my common windows back to their preferred monitors. Bit of a pain, only because I hadn't had to do that in a batch for years and forgot how.
  • Chrome Did Not Shut Down Correctly

    chrome
    1
    0 Votes
    1 Posts
    693 Views
    No one has replied
  • Open hyper terminal in windows

    4
    0 Votes
    4 Posts
    4k Views
    RussR
    @Lucas-Camila, is this the Hyper terminal you're talking about? https://hyper.is/ One option is you could add hyper to the end of your ~/.bashrc file to run it when you start WSL. This command can open WSL for you: start wsl For what it's worth I also noticed you can run bash scripts in WSL from TRIGGERcmd with a command like this: bash /home/russ/script.sh
  • Batch file issues

    4
    0 Votes
    4 Posts
    1k Views
    RussR
    @Andrew, I saw the same thing. I ran that batch file via TRIGGERcmd - nothing seemed to happen, but something did happen. You have a pause at the end, so it stayed running behind the scenes. I found mine in Task Manager when I showed the "Command line" column. [image: 1603836876066-e8e5aa1a-853f-4a51-8219-4163bb19bc9b-image.png] Try adding something to your batch file that you could actually see, like this: @echo off title This is your first batch script! echo Welcome to batch scripting! calc
  • Never used parameters before...

    25
    0 Votes
    25 Posts
    9k Views
    Royher FigueraR
    @Russ said in Never used parameters before...: @Royher-Figuera, in a .bat file, the syntax for a parameter is %1 for the first parameter, and %2 for the second parameter, etc. So you could make a simple batch file that google's something like this: start https://www.google.com/search?q=%1 @Russ Yes, my mistake. I have a error in my .bat file with a "$" and "%". I compare with my google.bat and this is ok and modified the another files. Thank You
  • Abrir YouTube no Opera /ou\ Opera GX

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • ps4-waker command

    6
    0 Votes
    6 Posts
    1k Views
    RussR
    @Marcelouw-GamePlay, awesome. I'm glad it's working.
  • Atalhos

    2
    0 Votes
    2 Posts
    2k Views
    G
    @Wander-Sousa Da uma olhada se este post te ajuda. https://www.triggercmd.com/forum/topic/52/press-the-down-arrow-key-or-any-other-key/22