To All Python Users That Use Bat Files to Call Python Scripts:I am trying to read in values from a txt file in a bat file that will be used as variables when calling python scripts within the bat file. I have searched the Internet for the proper syntax to accomplish this goal, but I am unable to read from a txt file in the bat file.Does anyone have experience with this task and could provide some sample code so I can see where I am going wrong? Any help or hints are greatly appreciated. Thanks.
As I said in the original Post, I need to add the full path to the python script and log files in the bat file on a Windows 2008 Server which I did not need to do in Windows 2003 Server.
Or is there another method of calling the python files that can be used?
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.