-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathei-test-data.cmd
More file actions
37 lines (30 loc) · 930 Bytes
/
ei-test-data.cmd
File metadata and controls
37 lines (30 loc) · 930 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
@echo off
rem Pick one of the following for testing
rem IRAhandle_tweets_1_15.csv
rem IRAhandle_tweets_1_100.csv
rem IRAhandle_tweets_1_1000.csv
rem IRAhandle_tweets_1_243892.csv
set dfile="excel-integrator-test-data.csv"
set sfile=
echo Pick one of the following data files
echo .
echo 1 IRAhandle_tweets_1_15.csv
echo 2 IRAhandle_tweets_1_100.csv
echo 3 IRAhandle_tweets_1_1000.csv
echo 4 IRAhandle_tweets_1_243892.csv
echo .
set /p input="Enter ordinal of dataset to use; 1, 2, 3, or 4: "
if %input%==1 set sfile="IRAhandle_tweets_1_15.csv"
if %input%==2 set sfile="IRAhandle_tweets_1_100.csv"
if %input%==3 set sfile="IRAhandle_tweets_1_1000.csv"
if %input%==4 set sfile="IRAhandle_tweets_1_243892.csv"
if [%sfile%]==[] GOTO ERROR
echo .. Copy %sfile% to %dfile%
copy %sfile% %dfile%
timeout 5
exit
ERROR:
echo "** Select a valid option"
timeout 10
pause
exit