Opened 9 years ago
Last modified 3 months ago
#28 reopened enhancement
Update setenv.bat for Windows "PowerShell"
Reported by: | Jeff McKenna | Owned by: | Jeff McKenna |
---|---|---|---|
Priority: | major | Milestone: | 5.0.1 release |
Component: | MS4W - Base | Version: | 3.1.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Newer machines (such as Windows 2012 Server) contains only powershell (not cmd.exe). The existing setenv.bat script will fail.
Possible new command:
$ENV:PATH+=';C:\ms4w\Apache\cgi-bin;C:\ms4w\tools\gdal-ogr;C:\ms4w\tools\mapserv;C:\ms4w\tools\shapelib;C:\ms4w\proj\bin;C:\ms4w\tools\shp2tile;C:\ms4w\tools\shpdiff;C:\ms4w\tools\avce00;C:\ms4w\python\gdal;C:\ms4w\tools\php;C:\ms4w\tools\mapcache;C:\ms4w\tools\berkeley-db;C:\ms4w\tools\sqlite;C:\ms4w\tools\spatialite;C:\ms4w\tools\unixutils'
Change History (11)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Milestone: | 3.1.1 release → 3.1.2 release |
---|
comment:3 by , 9 years ago
Milestone: | 3.1.2 release → 4.0 release |
---|
comment:4 by , 9 years ago
Type: | defect → enhancement |
---|
comment:5 by , 8 years ago
Milestone: | 4.0 release → 4.1 release |
---|
comment:10 by , 3 months ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Available in the MS4W 5.0 release: https://ms4w.com/download.html
Please test and provide feedback here!
comment:11 by , 3 months ago
Milestone: | 5.0.0 release → 5.0.1 release |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
reopening, to hopefully receive feedback on the new powershell scripts in MS4W 5.0
Note:
See TracTickets
for help on using tickets.
A workaround is to just use the native "cmd.exe" which actually exists (somewhere like C:\Windows\WinSxS\).