如何在CMD中打开文件

时间:2015-06-29 08:33:02

标签: command dos gdal qgis

我是Java的初学者和地理信息学专业的学生。

我想在DOS命令中从QGIS运行gdal单元。我设法在命令中打开可执行文件。但该命令显示了几种类型的子文件夹。

C:\Program Files\QGISWien\bin>"C:\Program Files\QGISWien\bin\gdalwarp.exe"
Usage: gdalwarp [--help-general] [--formats]
    [-s_srs srs_def] [-t_srs srs_def] [-to "NAME=VALUE"]
    [-order n | -tps | -rpc | -geoloc] [-et err_threshold]
    [-refine_gcps tolerance [minimum_gcps]]
    [-te xmin ymin xmax ymax] [-tr xres yres] [-tap] [-ts width height]
    [-wo "NAME=VALUE"] [-ot Byte/Int16/...] [-wt Byte/Int16]
    [-srcnodata "value [value...]"] [-dstnodata "value [value...]"] -dstalpha
    [-r resampling_method] [-wm memory_in_mb] [-multi] [-q]
    [-cutline datasource] [-cl layer] [-cwhere expression]
    [-csql statement] [-cblend dist_in_pixels] [-crop_to_cutline]
    [-of format] [-co "NAME=VALUE"]* [-overwrite]
    [-nomd] [-cvmd meta_conflict_value]
    srcfile* dstfile

我希望例如打开[--help-general] 任何想法,我该怎么做?

由于

1 个答案:

答案 0 :(得分:0)

嘿,据我所知,如果你必须打开文件,你应该遵循一些基本的标签

打开现有文件并允许您指定编辑器。 “File.OpenFile filename [/ e:editorname]”

相关问题