Hi after doing lots of googling i have decided to ask here if someone knows how to change windows logon sound with a batch file. I have tried things such as deleting the original (Windows Logon Sound.wav) and replacing it with a file i chose thats been renamed to the same original name (Windows Logon Sound.wav) and put it in the original location but it wont work for some reason. I dont want to use third party software i just need the batch file to change the logon sound and exit. This is what i have tried
@echo off
c:
cd c:\Windows\Media
del "Windows Logon Sound.wav"
F:
cd F:\MyWavSounds\
rename sound1.wav "Windows Logon Sound.wav"
xcopy /Y "F:\MyWavSounds\Windows Logon Sound.wav" "c:\Windows\Media\Windows Logon Sound.wav"
but it doesn't work for some reason even when i try to explore my way to c:\Windows\Media\ I cant even delete the Windows Logon Sound.wav manually but can someone help me with this batch file im trying to write please it shouldn't be hard but im a beginner.
Ive also tried just over writing it such as
@echo off
xcopy /Y "F:\MyWavSounds\Windows Logon Sound.wav" "C:\Windows\Media\Windows Logon Sound.wav"
exit
but it wont work either please help with a batch file to change the windows 7 logon sound thankyou
@echo off
c:
cd c:\Windows\Media
del "Windows Logon Sound.wav"
F:
cd F:\MyWavSounds\
rename sound1.wav "Windows Logon Sound.wav"
xcopy /Y "F:\MyWavSounds\Windows Logon Sound.wav" "c:\Windows\Media\Windows Logon Sound.wav"
but it doesn't work for some reason even when i try to explore my way to c:\Windows\Media\ I cant even delete the Windows Logon Sound.wav manually but can someone help me with this batch file im trying to write please it shouldn't be hard but im a beginner.
Ive also tried just over writing it such as
@echo off
xcopy /Y "F:\MyWavSounds\Windows Logon Sound.wav" "C:\Windows\Media\Windows Logon Sound.wav"
exit
but it wont work either please help with a batch file to change the windows 7 logon sound thankyou