Browse Source

agregar carpetas log, data y config y ipopt al path

oscarleiva 5 years ago
parent
commit
aefdcd888e
1 changed files with 6 additions and 1 deletions
  1. 6 1
      install.bat

+ 6 - 1
install.bat

@@ -15,6 +15,11 @@ echo Verificando la version de Python
 
 %LOCALAPPDATA%\Merelec\spr\mc3\python.exe install_copy_files.py
 
+REM Creando carpetas log, config y data
+mkdir log
+mkdir config
+mkdir data
+
 
 echo Seteando variables de entorno...
 
@@ -37,7 +42,7 @@ echo Instalando paquetes necesarios
 @echo off
 echo Agregando IPOPT to Path
 
-SET PATH=%PATH%;%LOCALAPPDATA%\Merelec\spr\ipopt\bin
+setx /M PATH "%PATH%;%LOCALAPPDATA%\Merelec\spr\ipopt\bin"
 
 echo Verificando instalación de Ipopt