| View previous topic :: View next topic |
| Author |
Message |
IIIyJIep
Joined: 01 May 2007 Posts: 3
|
Posted: Wed May 02, 2007 12:01 am Post subject: WAV file in %MYFILES% |
|
|
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  |
|
| Back to top |
|
 |
|
|
IIIyJIep
Joined: 01 May 2007 Posts: 3
|
Posted: Wed May 02, 2007 9:22 pm Post subject: |
|
|
And second problem, icon file is not copied!
| Code: | | copy %MYFILES%\storm.ico %USERPROFILE%\Desktop\storm.ico |
Write me: The syntax of command is incorrect! Where is problem? |
|
| Back to top |
|
 |
support Site Admin
Joined: 13 Feb 2004 Posts: 147
|
Posted: Thu May 03, 2007 9:40 pm Post subject: |
|
|
| what compiler's version you have? |
|
| Back to top |
|
 |
IIIyJIep
Joined: 01 May 2007 Posts: 3
|
Posted: Thu May 03, 2007 11:13 pm Post subject: |
|
|
| Quick Batch File Compiler 2.1.5.0 |
|
| Back to top |
|
 |
J Dark Shadow
Joined: 07 Jul 2007 Posts: 16 Location: N/A
|
Posted: Sun Jul 08, 2007 5:29 am Post subject: Here's a lil help IIIyJIep |
|
|
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 |
|
| Back to top |
|
 |
|