Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :: Assuming Windows 10 or something
- :: Replace "C:\Windows\Media\notify.wav" with whatever wav file you got.
- :: Using 'start' because powershell waits for the sound to finish
- start powershell -c (New-Object Media.SoundPlayer "C:\Windows\Media\notify.wav").PlaySync();
- :: chrome.exe (assuming default install dir)
- "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
Advertisement
Add Comment
Please, Sign In to add comment