popey Posted June 2, 2008 Report Share Posted June 2, 2008 hello, i am creating a bat file.......i want to use the output of my previous executed command in my next command......like i want to use the output of "dir" command in next "del" command.....how can i do this.....plz help Quote Link to comment Share on other sites More sharing options...
ɹəuəllıʍ ʇɐb Posted June 3, 2008 Report Share Posted June 3, 2008 There has been a big thread about exactly this some half year ago in this forum. I don't know how it was resolved, but it usually helps if you specify what you want to achieve - there may be other, easier methods to achieve what you want.As I remember, it's definitely easy to write the output of a command into an output file, but not that easy (or even possible) to get the contents of that file back. Quote Link to comment Share on other sites More sharing options...
popey Posted June 3, 2008 Author Report Share Posted June 3, 2008 can it be possible to access that thread ?????......or is there any other resource from where i can get the answer Quote Link to comment Share on other sites More sharing options...
ɹəuəllıʍ ʇɐb Posted June 4, 2008 Report Share Posted June 4, 2008 This forum has, like most other forums, a Search function. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.