Questions tagged [bat]

File extension for Microsoft batch files

Filter by
Sorted by
Tagged with
1
vote
2answers
28 views

Launch bat. for QGIS 3 python not working

I'm trying to build a launch.bat for qgis 3 python. I would want to run python via batch file but I get an error 'no module named processing' Launch.bat: @ECHO OFF set OSGEO4W_ROOT=C:\OSGeo4W64 @...
3
votes
2answers
69 views

Launch QGIS GUI using batch file and Python 3 - Windows 10

Ultimately I'm attempting to launch the QGIS GUI and run a python script from a batch file. I've reviewed numerous instances referencing similar scenarios on this and other forums but for the life of ...
3
votes
1answer
822 views

Creating a .bat file to run multiple FME scripts

I have the task of creating a batch file that will run FME scripts that update data layers to AGOL. I am completely unfamiliar with .bat and have not found anything online that really summarizes the ...
2
votes
2answers
862 views

Using Windows Batch File (.bat) for executing QGIS Python program without opening QGIS Software

I have a Python Program for doing some geoprocessing in QGIS. The starting of the Python program is given below. import sys from qgis.core import * import qgis.utils from qgis.gui import * from ...
2
votes
1answer
791 views

Writing a Batch File (.bat) Script to run a QGIS Python Script without opening QGIS [closed]

I have saved a python script (named as 'Task3.py'). Currently, I will open QGIS and then run this Task3.py . This python script is saved in C:\Users\Sreeraj.qgis2\processing\scripts\Task3.py . But, I ...
2
votes
1answer
673 views

Installing pip packages from bat file and OSGEO Shell?

After installing QGIS (that from the 2.14 version has pip installed by default) I want to automatically install some pip packages within a bat file. One method to do that is writing a file.txt with ...
6
votes
2answers
4k views

How to change default path for “.qgis2” folder on Windows?

I'm working with Windows 8 32Bit OS and QGIS 2.8.2. The QGIS default installing path for ".qgis2" folder is C:\Users\image95\\.qgis2. This directory stores several useful components like QGIS ...
4
votes
1answer
683 views

Scheduled Task - calling python through BAT

I'm using ArcGIS 10.1 and setting up some scheduled tasks to run on our server. I am calling a python script in a .bat file. When it runs, the connection to our SDE database is "invalid" or do not ...
1
vote
2answers
1k views

Start postgresql+postgis without installation on Windows

I have used Windows7x64 and want start PostgreSQL+POSTGIS without installation process. I copy PostgresSQl\9.1 folder from other laptop to c:\opt. I need create .bat file with enviroment variables and ...
4
votes
1answer
500 views

How to echo gdal process to screen and pipe to text file in Windows?

gdal_warp and similar give a nice progress summary when run and I want this output to show in the osgeo shell and also pipe to a text file. The issue is when I add the pipe the output doesn't show on ...