Fixed Automated Collection Command Prompt variable call (#2259)
* Fixed Automated Collection Command Prompt variable call While using the commands from a batch file the old code wont work because of the way the variable is being called. The addition of '%' fixed the issue. * Update T1119.yaml * add slash * Update T1564.004.yaml * Update T1564.004.yaml Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
This commit is contained in:
@@ -12,7 +12,7 @@ atomic_tests:
|
||||
command: |
|
||||
mkdir %temp%\T1119_command_prompt_collection >nul 2>&1
|
||||
dir c: /b /s .docx | findstr /e .docx
|
||||
for /R c: %f in (*.docx) do copy %f %temp%\T1119_command_prompt_collection
|
||||
for /R c:\ %f in (*.docx) do copy /Y %f %temp%\T1119_command_prompt_collection
|
||||
cleanup_command: |
|
||||
del %temp%\T1119_command_prompt_collection /F /Q >nul 2>&1
|
||||
name: command_prompt
|
||||
|
||||
Reference in New Issue
Block a user