This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir all | |
for /d %%d in (report*) do ( | |
for %%f in (%%d\*.txt) do ( | |
echo. >> all\%%~nxf | |
echo ---- %%d >> all\%%~nxf | |
type %%f >> all\%%~nxf | |
) | |
) | |
% 「提出物を1つのフォルダにまとめる 」にチェックを入れ, オンライン入力レポート課題ごとに zip をダウンロードする. | |
% 空のフォルダ(例) assignments を作り, その中にすべての zip を「すべて展開」する. (例) report-933913-1007977 など複数のサブフォルダができ, その中に .txt などの学生別ファイルがはいっている状態になる. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir all | |
for /d %%d in (report*) do ( | |
for %%f in (%%d\*) do ( | |
copy %%f all\%%~nf-%%d%%~xf | |
) | |
) | |
% 「提出物を1つのフォルダにまとめる 」にチェックを入れ, 課題ごとに zip をダウンロードする. | |
% 空のフォルダ(例) assignments を作り, その中にすべての zip を「すべて展開」する. (例) report-933913-1007977 など複数のサブフォルダができ, その中に .txt などの学生別ファイルがはいっている状態になる. | |
% コマンドプロンプト起動. cd assignments した後, collect.bat を実行. | |
% assignments のサブフォルダ allの中に, ファイル名=学籍番号 順にソートできる状態ですべての提出ファイルがコピーされる. |