how to read and print version number from a file on network location using a batch file? -


मेरे पास एक नेटवर्क स्थान पर एक नेटवर्क नाम है जिसका नाम \ network_location \ files \ build_ver.txt है, जिसकी बिल्ड संस्करण संचयित है। < br> कहते हैं 1029,
मैं इसे बैच फ़ाइल के माध्यम से पढ़ना चाहता हूं और इसे प्रिंट करना चाहता हूं ..

इस पर कोई भी सुझाव:

1 नेटवर्क स्थान पर टेक्स्ट फ़ाइल से build_ver को कैसे पढ़ें - 2 प्रिंट बिल्ड_वर प्रिंट करें

इस तरह से प्रयास करें:

  @echo off $ 'NetPath = "x: \ network_location \ files \ build_ver.txt" के लिए / f "delims =" %% एक में (' प्रकार% $ नेटपैथ% ') सेट करें $ Ver = %% एक गूंज% $ Ver% सेट करें < / कोड>   

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -