I am a little stuck making a batch file for work. The intention of this batch is to change the status of something on a web based form. I have managed to build the menu, sort the GOTO part and then have the user input a prefix, the next part is highlighted in red below, i would like to be able to copy a cell (A1 is fine) in a .csv file and set it as a variable. Is this possible?
:: UnreportBatchFile MM
@echo off
title Unreporting/Assigning Assitance
echo.
echo --------------------------------------------------------------------------
echo This batch file is used to unreport your exams or assign
echo to a specific radiologist
echo --------------------------------------------------------------------------
:MENU
echo.
echo 1 - Unreport Exams
echo 2 - Assign Exams
echo x - Exit
echo.
set /P M=Type 1 or 2 then press ENTER....
if %M%==1 GOTO PREFIX
if %M%==2 GOTO ASSIGN
if %M%==x exit
cls
echo Sorry,'%M%' is not recognised. Please try again...
echo.
goto MENU
![Razz :P](./images/smilies/icon_razz.gif)
set /P prefix=Please enter the sites prefix:
:IMS
start chrome.exe http://website=%prefix%-%NEED TO COPY AND PASTE FROM CSV%&op=exams
pause > nul
:ASSIGN