Saving to system temp folder using MCI.sendCmdString
How can I save files to the system temp folder using MCI.sendCmdString? I cannot specify the path to the folder because this varies from computer to computer. So I need something like the "Shell.getSpecialFolder("temp");" command. I want to record audio and then save the recorded data to the system temp folder. Unfortunately I have to use the MCI.sendCmdString method because I need to set the recording quality. Anybody out there who can help? I tried stuff like "MCI.sendCmdString("save myWave %temp%\1.wav");" which doesn't work at all!
|