|
-
April 12th, 2005, 01:27 AM
#1
sndrec32.exe, command line options, expecially /record
This is all in XP Pro, but since it is a command line issue, I brought it here.
I am trying to automatically record using Sound Recorder from the command line in a script or something. I can't seem to find out what the command line options are for sndrec32.exe. I have found out that "sndrec32.exe /play /close <wave file>" is possible and I tried "sndrec32.exe /record /close <wave file>" but that doesn't seem to work.
What are the options for sndrec32.exe? Is it possible to do what I am trying to do? Is there a way to display the options for sndrec32.exe from the command line? /verbose doesn't seem to work.
-
April 12th, 2005, 01:49 AM
#2
have you tried opening a dos prompt window and typing sndrec32.exe /?
-
April 12th, 2005, 01:11 PM
#3
Yes, I've tried that. It just starts it up.
-
April 12th, 2005, 09:35 PM
#4
How about sndrec32.exe /help
-
April 12th, 2005, 11:38 PM
#5
I hadn't thought of that, but, I try it and that doesn't work either.
I did some on-line searching and found that sndrec32.exe shows up as a component in some email virus. Is it possible that its attributes have been obscured or disabled as a consequence?
I've also searched the MS Knowledge Base and there is no information there either.
-
April 13th, 2005, 10:38 AM
#6
I found one site that had /embedding but other than that not much else.
Then it hit me and I used Wordpad to 'open' sndrec32.exe
I then searched for /embedding with no luck.
Removed the / and found a line that had embedding, play, open, new, close so I'm guessing that's it ?
Meanings at a guess:
/embedding - ???
/play - play file
/open - open file but don't play it
/new - open new file ready for recording
/close - close file
Last edited by Nix; April 13th, 2005 at 10:41 AM.
-
April 13th, 2005, 10:44 AM
#7
I ran sndrec32 /new /embedding c:\nix2.wav at the command line and nothing appeared to happen, but when I hit Ctrl+Alt+Delete sndrec32.exe is running in the background but no GUI ???
-
April 13th, 2005, 04:52 PM
#8
The /embedding apparently makes it not show the UI for the program. I tried a sndrec32 /play /close /embedding .\ro-title.wav to play the .WAV in the default directory, and the .WAV played without the Sound Recorder UI. During playback, sndrec32 showed as a running process, and then disappeared when the track was done playing.
Welcome to the Eclipse(C). The Evolution of an Idea
Options: DCM3 LCR VMS CVM Sil CPI VMI ANI 648 CA1 SACD500 Att CID RLS TIME DLG
Version: ECLIPSE 2.0.0 09/09/98 System is BUSY Thu 07-21-05 1:31 pm
Access Level = 10 Port = 10
-
April 13th, 2005, 08:50 PM
#9
Hey AlaricD, haven't seen you around for a while.
-
April 15th, 2005, 12:19 AM
#10
Sorry about the delay in replying. I confirm the "embedding" attribute. What I am looking for is a way for recording from the command line and the only thing that happens when I use the "/record" option is that the dotted outline shows on the record button indicating it has the focus. There must be a way to get the recording going.
Explain what you did when you say you used Wordpad to open sndrec32.exe.
-
April 15th, 2005, 12:56 AM
#11
Search for SNDREC32.EXE
Click it once to highlight it.
Hold down shift
Right click on it and select Open With
Scroll down to Wordpad and click OK
How about /start or /begin
-
April 16th, 2005, 01:00 PM
#12
I can't seem to evoke "Open With" using the trick you describe. I do see "Open" which simply starts the program. Recall that I am using Windows XP Pro.
I also notice that /record does not significantly place the focus on the record button. Even when I use "sndrec32.exe /new /xxxx TEST.wav", it opens the program with Record focused.
-
April 17th, 2005, 06:18 PM
#13
Since sndrec32 is an .EXE, you can't use "Open With" on it. But you can Start, Run notepad c:\windows\system32\sndrec32.exe to open the .EXE with Notepad to look in it.
It doesn't look like the sound recorder can be set to automatically record. You may wish to look into 3rd party software to make timed recordings.
Welcome to the Eclipse(C). The Evolution of an Idea
Options: DCM3 LCR VMS CVM Sil CPI VMI ANI 648 CA1 SACD500 Att CID RLS TIME DLG
Version: ECLIPSE 2.0.0 09/09/98 System is BUSY Thu 07-21-05 1:31 pm
Access Level = 10 Port = 10
-
April 17th, 2005, 10:28 PM
#14
 Originally Posted by AlaricD
Since sndrec32 is an .EXE, you can't use "Open With" on it. But you can Start, Run notepad c:\windows\system32\sndrec32.exe to open the .EXE with Notepad to look in it.
It doesn't look like the sound recorder can be set to automatically record. You may wish to look into 3rd party software to make timed recordings.
My method works in Win98SE, WinMe and WinNt eg
 Originally Posted by Nix
Search for SNDREC32.EXE
Click it once to highlight it.
Hold down shift
Right click on it and select Open With
Scroll down to Wordpad and click OK
Haven't got XP though so maybe they took it out ?
You have to highlight first and hold down shift before right clicking or you don't get the open with option.
Last edited by Nix; April 17th, 2005 at 10:30 PM.
-
April 18th, 2005, 12:14 AM
#15
Yes, I've finally opened up the program from within Notepad and I'm sure I could have done the same thing from Wordpad.
I don't see a /record swith there either anywhere. I give up.
Thanks all for your attention to this little problem
I was hoping to record radio shows from a time set boot using this feature. I agree, some other command line sound recorder will be necessary.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|