Category : batch-file

I have a spring boot application which I will invoke from a batch file, I want to capture the output of the application in windows batch file Batch File:- for /f "tokens=1-20 delims=ComplianceScore" %%A in ( ‘ java -jar C:/TestJars/SprintTest.jar input1 ‘ ) do set token2=%%B echo The second token is %token1% echo The second ..

Read more

So I have this TXT file with the following: IMAGENS/sw/18d0rh3992k4zjpg.jpg IMAGENS/sw/2879eb8a73f79a8466f25bb7a1ded815.jpg IMAGENS/sw/dd729c073c9b1a41525547b4938a9a9b.jpg IMAGENS/sw/017411cc7304789e4af1a42b65e1fe84.jpg IMAGENS/sw/51759a3fc194a10609114e5424fae4fb.jpg IMAGENS/sw/45d1aa480000af7f692da49ab7eef417.jpg IMAGENS/sw/5279140aeb53f03dbc8bb01c30a2f9c6.jpg IMAGENS/sw/3cbdd20633c13fa50e8a3f596a230c7f.jpg IMAGENS/sw/52f20571ae9c9598bd6210780f934947.jpg IMAGENS/sw/22b774a5e65c81e1a85c92e7f26fc487.jpg IMAGENS/sw/653cba8825204d71334665d446cbb77a.jpg IMAGENS/sw/6401aeab79b78b9ca2105abcee6570a0.jpg IMAGENS/sw/657d54163e83a09e93170188239cc9c4.jpg IMAGENS/sw/1f9b885c20f7e50ecfb3c55aad1a9d2b.jpg IMAGENS/sw/662b7dbbc0215034e57c42aacc00445b.jpg IMAGENS/sw/Beyond_the_Rim_FC_BG_art.png IMAGENS/sw/66fb5d0213baadbf1522d704387f1c35.jpg IMAGENS/sw/68195732d7e678ce841ede1e109c8fad.jpg IMAGENS/sw/66debd17b93178b07823d4b53b1ed25d.jpg IMAGENS/sw/6c24d0c0321529770a3419150b29b2a8.jpg … There are more. Now, using python, or windows cmd, I would like to delete all EXCEPT the bigest(filesize) in each paragraph OR, if the filesize ..

Read more

So I have this TXT file with the following: IMAGENS/sw/18d0rh3992k4zjpg.jpg IMAGENS/sw/2879eb8a73f79a8466f25bb7a1ded815.jpg IMAGENS/sw/dd729c073c9b1a41525547b4938a9a9b.jpg IMAGENS/sw/017411cc7304789e4af1a42b65e1fe84.jpg IMAGENS/sw/51759a3fc194a10609114e5424fae4fb.jpg IMAGENS/sw/45d1aa480000af7f692da49ab7eef417.jpg IMAGENS/sw/5279140aeb53f03dbc8bb01c30a2f9c6.jpg IMAGENS/sw/3cbdd20633c13fa50e8a3f596a230c7f.jpg IMAGENS/sw/52f20571ae9c9598bd6210780f934947.jpg IMAGENS/sw/22b774a5e65c81e1a85c92e7f26fc487.jpg IMAGENS/sw/653cba8825204d71334665d446cbb77a.jpg IMAGENS/sw/6401aeab79b78b9ca2105abcee6570a0.jpg IMAGENS/sw/657d54163e83a09e93170188239cc9c4.jpg IMAGENS/sw/1f9b885c20f7e50ecfb3c55aad1a9d2b.jpg IMAGENS/sw/662b7dbbc0215034e57c42aacc00445b.jpg IMAGENS/sw/Beyond_the_Rim_FC_BG_art.png IMAGENS/sw/66fb5d0213baadbf1522d704387f1c35.jpg IMAGENS/sw/68195732d7e678ce841ede1e109c8fad.jpg IMAGENS/sw/66debd17b93178b07823d4b53b1ed25d.jpg IMAGENS/sw/6c24d0c0321529770a3419150b29b2a8.jpg … There are more. Now, using python, or windows cmd, I would like to delete all EXCEPT the bigest(filesize) in each paragraph OR, if the filesize ..

Read more