how to set value in perl using system cmd -


We can set the value in the batch file so that I am experiencing a problem using the system CMD in Perl code. The previously tried command:

  system ("(one set = 10) and% echo% acho)";   

I'm expecting a print of Wall 10. I do not know anything about windows batch files but googling: if you have a batch file < Code> cmd.bat :

  @echo closed set one = 10 echo% a%   

and then perl script From

  system ('cmd.bat');   

Or maybe this is not what's for you

Comments

Popular posts from this blog

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -