I have an "error" in my batch file and volatility (in command prompt). I want to run it in a thumbdrive (still testing) but the error just looks super weird
In my batch file (MyBatchFile.bat)
E:
vol231.exe -f E:\USER-PC-20140707-141900.raw imageinfo > Volatility.txt
exit
In java coding (using elicpse)
import java.io.*;
public class Run3
{
public static void main(String args[])
{
try
{
Runtime rt = Runtime.getRuntime();
Process p = rt.exec("cmd /c start E:\\MyBatchFile.bat");
}
catch (IOException e)
{
e.printStackTrace();
}
}
}
Everything looks fine here. And it can run too. But when the command prompt comes the volatility part. I don't know why. The command would become like this (see below).
vol231.exe -f E:\USER-PC-20140707-141900.raw imageinfo 1> Volatility.txt
I don't know where the hell the "1" comes from. and this affected my memory analysis. I wanted to try coding using java whereby everything just analysed on its own when I run the program. Still trying.
But then... Can anyone help me with this error for now? This problem has squeezed out all my brain juice!
Any help would be greatly appreciated!!! Thanks in advance.
Cheers,
Linify