text stringlengths 0 834k |
|---|
@echo off |
color 2e |
cls |
if not EXIST C:\programdata\webex\webex\500\nbrplay.exe goto nonbr |
goto mainmenu |
rem Checks if the required program is installed, turns off the output of commands and sets the color of the terminial. After it has completed the above tasks it routs the user to the main menu. |
:init |
:mainmenu |
cls |
echo Easy mode: Enter the name of the folder on your desktop that contains your ARF files. |
echo Advanced mode: Enter the full path to the folder containing the ARF files. |
echo Options: Configure the conversion process from frame rate to codecs |
echo. |
set /p mmenu=Press A for Advanced, E for Easy and O for Options. Then press enter: |
if %mmenu%==1 set fromm=easy |
if %mmenu%==1 goto easy |
if %mmenu%==2 set fromm=advanced |
if %mmenu%==2 goto filetype |
if %mmenu%==3 set fromm=options |
if %mmenu%==3 goto options |
cls |
echo There has been an error |
echo Error Location ""mainmenu"" |
pause |
goto mainmenu |
rem This displays a simple menu for users to chose either advanced mode, Where you type |
rem the full path, or Easy mode, Where you type ony the folder name of a folder on the desktop. |
rem |
rem This menu uses the choice command to make the user chose one of two choices. |
rem After they chose it records which one the chose in %fromm% (from menu) so that they can be routed after they have chosen the file type. |
:easy |
set fromm=easy |
cls |
echo The converted files will appear in the same folder with the ARF files in it. |
echo. |
echo Please enter, below, the name of the folder on your desktop that contains ARF files you wish to convert. |
echo. |
set /p deskfolder=Enter the folder name here: |
set source=%userprofile%\Desktop\%deskfolder%\ |
set dest=%source% |
goto filetype |
rem The user inputs the name of a folder on the desktop |
rem and it is combined with the system %userprofile% variable to |
rem make %source%. %source% is then copied into %dest% to set the destination of the MP4 files. |
:filetype |
cls |
echo You have three file types to convert to: WMV, SWF and MP4. |
echo. |
echo WMV is the Windows Media Video format and is compatible with most computers |
echo. |
echo MP4 is MPEG Layer 4. It is compatible with almost all computers and devices |
echo. |
echo SWF is a Shockwave Flash file. It is compatible with most web browsers with flash installed. It is ideal for embedding in web pages. |
echo. |
echo. |
set /p filetypechoice=""Enter you chosen file type here. W=WMV M=MP4 S=SWF. W, S or M?"" |
if %filetypechoice%==W set ftype=WMV |
if %filetypechoice%==M set ftype=MP4 |
if %filetypechoice%==S set ftype=SWF |
if %filetypechoice%==w set ftype=WMV |
if %filetypechoice%==m set ftype=MP4 |
if %filetypechoice%==s set ftype=SWF |
if %fromm%==easy goto where |
if %fromm%==advanced goto source |
cls |
echo An error has occored. Please email me with the details. |
echo Error Location ""filetype"" |
echo elliot-labs@live.com |
pause |
goto end |
rem The above gives you the choice to chose which formats that you can convert to. it does this by changing the %ftype% to the selected format then reading from which menu you |
came from (%fromm%, From Menu). After it has determined which one you came from it routs you to the approiate next step. |
:source |
cls |
echo Make sure that you type the full path to the folder that contains the ARF files. I have not tested network shares. Yet... |
echo. |
echo Please select the folder with the ARF files in it. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.