ZenHAX
http://zenhax.com/

How to set FILE_FOLDER on batch?
http://zenhax.com/viewtopic.php?f=11&t=4901
Page 1 of 1

Author:  sigroon365 [ Tue Sep 05, 2017 1:51 pm ]
Post subject:  How to set FILE_FOLDER on batch?

Hi, is there any way to set Output folder as the path of the loaded input file?

Code:
@echo off
for /r %%i in (*.dat) do quickbms.exe decrypt.txt %%i FILE_FOLDER


Unfortunately quickbms ask me 'do you want to create FILE_FOLDER?'..
Sure, I'm not. :lol:

This is because a number of different file (but same name) is under different sub folders.

Author:  aluigi [ Tue Sep 05, 2017 2:26 pm ]
Post subject:  Re: How to set FILE_FOLDER on batch?

Take a look here:
https://ss64.com/nt/syntax-args.html
Code:
for /r %%i in (*.dat) do quickbms.exe decrypt.txt %%i %%~di%%~pi

Author:  sigroon365 [ Tue Sep 05, 2017 5:30 pm ]
Post subject:  Re: How to set FILE_FOLDER on batch?

aluigi wrote:
Take a look here:
https://ss64.com/nt/syntax-args.html
Code:
for /r %%i in (*.dat) do quickbms.exe decrypt.txt %%i %%~di%%~pi


Oh, thank you! :)

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/