Hi Everyone,
I currently have a BAT file that I would like to get rid of and run from a macro.
The idea is that the macro would not have to call the BAT file but the BAT contents would live within the macro.
I currently have a BAT file that I would like to get rid of and run from a macro.
The idea is that the macro would not have to call the BAT file but the BAT contents would live within the macro.
Code:
pushd "\\nw\data\787FlexTrack\Data\Final-Body-Join\30-IRMC_Extractions\10-Active\"
dir /b /s > 10-ACTIVE_DIRECTORY.txt
popd
pushd "\\nw\data\787FlexTrack\Data\Final-Body-Join\30-IRMC_Extractions\20-Predecessor\"
dir /b /s > 20-PREDECESSOR_DIRECTORY.txt
popd
pushd "\\nw\data\787FlexTrack\Data\Final-Body-Join\30-IRMC_Extractions\30-Predecessors-Pred\"
dir /b /s > 30-PREDECESSORS-PRED_DIRECTORY.txt
popd
pushd "\\nw\data\787FlexTrack\Data\Final-Body-Join\30-IRMC_Extractions\999-Archive\"
dir /b /s > 999-ARCHIVE_DIRECTORY.txt
popd