Skip to content

Instantly share code, notes, and snippets.

@StefCoders
Last active April 7, 2024 13:46

Revisions

  1. StefCoders revised this gist Apr 7, 2024. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion prank.bat
    Original file line number Diff line number Diff line change
    @@ -2,4 +2,4 @@
    set "soundURL=https://www.myinstants.com/media/sounds/som-do-zap-zap-estourado.mp3"
    set "volume=100"

    powershell -Command "(New-Object Media.SoundPlayer '%soundURL%').Play();"
    powershell -Command "(New-Object Media.SoundPlayer '%soundURL%').PlaySync();"
  2. StefCoders created this gist Apr 7, 2024.
    5 changes: 5 additions & 0 deletions prank.bat
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    @echo off
    set "soundURL=https://www.myinstants.com/media/sounds/som-do-zap-zap-estourado.mp3"
    set "volume=100"

    powershell -Command "(New-Object Media.SoundPlayer '%soundURL%').Play();"