WAV file in %MYFILES%

Convert your BATch files into EXEcutable format in one click.
Post Reply
IIIyJIep
Posts: 3
Joined: Tue May 01, 2007 11:28 pm

WAV file in %MYFILES%

Post by IIIyJIep » Wed May 02, 2007 12:01 am

Is it possible to start play included audio files in background? Like a Windows play startup sounds and system beep wav files without player.

If I write %MYFILES%\music.wav it's not work :cry:

IIIyJIep
Posts: 3
Joined: Tue May 01, 2007 11:28 pm

Post by IIIyJIep » Wed May 02, 2007 9:22 pm

And second problem, icon file is not copied!

Code: Select all

copy %MYFILES%\storm.ico %USERPROFILE%\Desktop\storm.ico
Write me: The syntax of command is incorrect! :( Where is problem?

support
Site Admin
Posts: 404
Joined: Fri Feb 13, 2004 1:05 pm

Post by support » Thu May 03, 2007 9:40 pm

what compiler's version you have?

IIIyJIep
Posts: 3
Joined: Tue May 01, 2007 11:28 pm

Post by IIIyJIep » Thu May 03, 2007 11:13 pm

Quick Batch File Compiler 2.1.5.0

J Dark Shadow
Posts: 16
Joined: Sat Jul 07, 2007 10:58 pm
Location: N/A

Here's a lil help IIIyJIep

Post by J Dark Shadow » Sun Jul 08, 2007 5:29 am

For the icon problem the syntax of the command is incorrect because the variable %USERPROFILE% is equal to C:\Documents and Settings\[your username] and there are spaces in the path. So you should use "C:\Documents and Settings\[your username]" or use "%USERPROFILE%" instead.


This would work:

copy %MYFILES%\storm.ico "%USERPROFILE%"\Desktop\storm.ico



J Dark Shadow

Post Reply