sndrec32.exe, command line options, expecially /record
Page 1 of 2 12 LastLast
Results 1 to 15 of 23

Thread: sndrec32.exe, command line options, expecially /record

  1. #1
    Join Date
    Mar 2000
    Location
    Davis, CA, USA
    Posts
    277

    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.

  2. #2
    Nix's Avatar
    Nix is offline Aka: Nix*, NNiixx, Nix23
    Join Date
    May 2001
    Location
    Sydney, Australia
    Posts
    8,255
    have you tried opening a dos prompt window and typing sndrec32.exe /?

  3. #3
    Join Date
    Mar 2000
    Location
    Davis, CA, USA
    Posts
    277
    Yes, I've tried that. It just starts it up.

  4. #4
    Nix's Avatar
    Nix is offline Aka: Nix*, NNiixx, Nix23
    Join Date
    May 2001
    Location
    Sydney, Australia
    Posts
    8,255
    How about sndrec32.exe /help

  5. #5
    Join Date
    Mar 2000
    Location
    Davis, CA, USA
    Posts
    277
    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.

  6. #6
    Nix's Avatar
    Nix is offline Aka: Nix*, NNiixx, Nix23
    Join Date
    May 2001
    Location
    Sydney, Australia
    Posts
    8,255
    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.

  7. #7
    Nix's Avatar
    Nix is offline Aka: Nix*, NNiixx, Nix23
    Join Date
    May 2001
    Location
    Sydney, Australia
    Posts
    8,255
    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 ???

  8. #8
    Join Date
    Nov 2001
    Location
    Fishbel
    Posts
    2,412
    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

  9. #9
    Nix's Avatar
    Nix is offline Aka: Nix*, NNiixx, Nix23
    Join Date
    May 2001
    Location
    Sydney, Australia
    Posts
    8,255
    Hey AlaricD, haven't seen you around for a while.

  10. #10
    Join Date
    Mar 2000
    Location
    Davis, CA, USA
    Posts
    277
    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.

  11. #11
    Nix's Avatar
    Nix is offline Aka: Nix*, NNiixx, Nix23
    Join Date
    May 2001
    Location
    Sydney, Australia
    Posts
    8,255
    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

  12. #12
    Join Date
    Mar 2000
    Location
    Davis, CA, USA
    Posts
    277
    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.

  13. #13
    Join Date
    Nov 2001
    Location
    Fishbel
    Posts
    2,412
    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

  14. #14
    Nix's Avatar
    Nix is offline Aka: Nix*, NNiixx, Nix23
    Join Date
    May 2001
    Location
    Sydney, Australia
    Posts
    8,255
    Quote 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

    Quote 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.

  15. #15
    Join Date
    Mar 2000
    Location
    Davis, CA, USA
    Posts
    277
    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
  •