Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I work at a computer shop and we use a dvd that contains video's. I created a batch file to install everything for us (video files, Play lists, Windows media Player version 10), and that works great.
The other day I noticed on the WMVHD web site (www.wmvhd.com) some new videos. These videos use Digital Rights Management. So in order to watch these videos, the computer needs to be connected to the internet to access the license.
Unfortunately, not every PC is connected to the internet. So my plans were to create an install program that asked the user for input. For example:
1. Press 1 and RETURN to set up a PC not connected to the internet.
2. Press 2 and RETURN to set up a PC that is connected to the internet.This way I could install the files that required internet Access to download the DRM license only on the PC's with internet access (as well as the other files), and keep the PC's not connected to the net free of these files.
The problem at the moment is that the DOS prompt closes after displaying the menu, giving the user no time to enter an option. I am using Windows XP, and these are limited to DOS 5.1.2600, which means I can't use the CHOICE command.....
Any suggestions would be appreciated.

I don't know why you think you can't use CHOICE, but it's over to you on that one.
Here's another way:
::
@echo offecho connected PC? y or n
set /p c=
goto %c%
:y
:Y
echo here's where you load for a connected PC
goto :eof:n
:Necho here's where you load for a non-connected PC
:: DONE
If at first you don't succeed, you're about average.M2

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |