spidercop Posted March 3, 2008 Share Posted March 3, 2008 can i play music like from batch or sumting while windows is installing i think in T-13 stage audio drivers are installed is there e way i can play music then with player screen hidden i wanna now because i want tho draw attention tho the pc that there have tho be info inputted or can make the pc make that tuut sound like wen u get error that use the littel speaker on the mobowanna have info on the 2 thanks Link to comment Share on other sites More sharing options...
gunsmokingman Posted March 3, 2008 Share Posted March 3, 2008 can i play music like from batch or sumting while windows is installing i think in T-13 stage audio drivers are installed is there e way i can play music then with player screen hidden i wanna now because i want tho draw attention tho the pc that there have tho be info inputted or can make the pc make that tuut sound like wen u get error that use the littel speaker on the mobowanna have info on the 2 thanksYes you can play music or sound during the install at the t13.In the cmdlines.txt add a cmd for playing the soundExample cmdlines.txt[COMMANDS]MyMusic.cmdMyMusic.cmd@Echo OffCLSMODE 55,5COLOR F9start "Some_Drive_Letter\Some_Folder\Music.File" Link to comment Share on other sites More sharing options...
uid0 Posted March 3, 2008 Share Posted March 3, 2008 I use the ascii beep at T-13, echo (ctrl-G) Link to comment Share on other sites More sharing options...
spidercop Posted March 4, 2008 Author Share Posted March 4, 2008 @Echo OffCLSMODE 55,5COLOR F9start "C:\WINDOWS\system32\oobe\images\title.wma"dont worken how can i use ascii beep Link to comment Share on other sites More sharing options...
uid0 Posted March 4, 2008 Share Posted March 4, 2008 in your batch file, typeechothen hold down Ctrl and g Link to comment Share on other sites More sharing options...
gunsmokingman Posted March 5, 2008 Share Posted March 5, 2008 Perhaps you should check to see if the file exists first[code]@Echo OffCLSMODE 55,5COLOR F9Set Music=%SystemDrive%\Windows\system32\oobe\images\title.wmaIf Exist %Music% Goto PlayIf Not Exist %Music% Goto Missing:Playstart %Music%Goto EOFExit:MissingCLSEcho.Echo Can Not Find This FileEcho %Music%Echo.set /p = Press Enter To Close This Window.Goto EOFExit[/code] Link to comment Share on other sites More sharing options...
spidercop Posted March 5, 2008 Author Share Posted March 5, 2008 the exists en when i run the batch then mediaplayer starts up i think this because on laptop mayby sum safty settings were messing up before but isnt there e way tho play the music without the play showing up if u running windows xp the file mujst exist try Link to comment Share on other sites More sharing options...
gunsmokingman Posted March 5, 2008 Share Posted March 5, 2008 (edited) the exists en when i run the batch then mediaplayer starts up i think this because on laptop mayby sum safty settings were messing up before but isnt there e way tho play the music without the play showing up if u running windows xp the file mujst exist tryThen try this it is a VBS script Save as PlayMusic.vbs[code]Dim Music :Music="Place The Path And Name Of The File Here"Dim Act :Set Act = CreateObject("Wscript.Shell")Dim Fso :Set Fso = CreateObject("Scripting.FileSystemObject") If Fso.FileExists(Music) Then Act.Run("wmplayer.exe /play /close " & Music),0,True End If[/code]I do not know if this script will work, I am on Vista and mplay32.exe is in my music folder.This script plays all my music files in the folder and the player is not visable.[code]Dim Act :Set Act = CreateObject("Wscript.Shell")Dim Fso :Set Fso = CreateObject("Scripting.FileSystemObject")Dim F1, F2 Set F1 = Fso.GetFolder(".") For Each F2 In F1.Files If Right(InStr(F2.Name,".mp3"),4) Then Act.Run("mplay32.exe /play /close " & F2.Path),0,true End If Next[/code] Edited March 5, 2008 by gunsmokingman Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now