I am currently running a command and it is producing the compressed file. I need to store that zip file into c:\windows\abc.zip. Does anyone know how to do that?
MY current command is something like this: cd %path% cdx.exe
I have tried specifying the path after cdx.exe but it doesn't store in that path. It is running the exe but storing on my desktop instead of c:\windows.
Hope it make sense.
From stackoverflow
-
>will output to a file (>>will append)so try
cdx.exe > c:\windows\abc.zipSee the echo section here: List of DOS Commands
Charlie Salts : I had this same problem once, but I was using | instead. I forgot I was on a machine that was neither *nix nor with Cygwin.alice7 : i tried this and it didn't work on some of the servers on which Im tryin to run abc.exe.some of them got successfull but other's failed
0 comments:
Post a Comment