Tuning WebTV for Windows from the Command Line

[This is preliminary documentation and subject to change.]

The following command line syntax tunes WebTV for Windows to the specified channel. If WebTV for Windows is not currently running this command line also starts WebTV for Windows.

<path>Tvx.exe tv:[//] <tuning_identifier>

The double back slash (//) before the tuning identifier is optional.

Where

<path>
The path to the WebTV for Windows directory, typically "C:\Program Files\TV Viewer". The location of this directory is stored in the ProductDir value under this registry key:

HKLM\Software\Microsoft\TV Services

If you are running the command line from the WebTV for Windows directory, you do not need to specify the path.

<tuning_identifer>
Specifies the channel or station to which WebTV for Windows should tune. This can be specified either by the channel number, the network call letters, or the station call letters.

Examples

The following three command lines all tune WebTV for Windows to channel 32. Note that the last two examples assume that you are running the command line from the WebTV for Windows directory.

C:\Program Files\TV Viewer\Tvx.exe tv:32 
Tvx.exe tv:32 
Tvx.exe tv://32
 

The next two command lines tune WebTV for Windows to the local station, KZZZ. The channel number associated with that station will vary in different broadcast areas.

Tvx.exe tv:KZZZ
Tvx.exe tv://KZZZ
 

The next two command lines tune WebTV for Windows to the national network station, MSNBC. The channel number associated with that station will vary in different broadcast areas.

Tvx.exe tv:MSNBC 
Tvx.exe tv://MSNBC