MSFN Forum: Installation scripts - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

If you have questions about customizing Windows XP that are nLite-specific, please post them in the nLite forum, not here. If you have questions regarding the unattended installation of Windows XP, please post them in the Unattended Windows 2000/XP/2003 section.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Installation scripts How do I append the system path in a .bat file? Rate Topic: -----

#1 User is offline   lianalet 

  • Group: Members
  • Posts: 2
  • Joined: 06-March 06

  Posted 06 March 2006 - 06:41 PM

I want to append the path within a application installation batch file. Here's a copy of the the file:


@echo off
pushd %~dp0

echo.
echo "Installing Python"
msiexec /i python-2.4.1.msi /qb REBOOT=ReallySuppress
echo "Finished Python"

popd


I want add c:\python24 to the PATH. Please advise with the syntax to make that happen.

Lianalet

View Postlianalet, on Mar 6 2006, 04:39 PM, said:

I want to append the path within a application installation batch file. Here's a copy of the the file:


@echo off
pushd %~dp0

echo.
echo "Installing Python"
msiexec /i python-2.4.1.msi /qb REBOOT=ReallySuppress
echo "Finished Python"

popd


I want add c:\python24 to the PATH. Please advise with the syntax to make that happen.

Lianalet



View Postlianalet, on Mar 6 2006, 04:39 PM, said:

I want to append the path within a application installation batch file. Here's a copy of the the file:


@echo off
pushd %~dp0

echo.
echo "Installing Python"
msiexec /i python-2.4.1.msi /qb REBOOT=ReallySuppress
echo "Finished Python"

popd


I want add c:\python24 to the PATH. Please advise with the syntax to make that happen.

Lianalet



View Postlianalet, on Mar 6 2006, 04:41 PM, said:

I want to append the path within a application installation batch file. Here's a copy of the the file:


@echo off
pushd %~dp0

echo.
echo "Installing Python"
msiexec /i python-2.4.1.msi /qb REBOOT=ReallySuppress
echo "Finished Python"

popd


I want add c:\python24 to the PATH. Please advise with the syntax to make that happen.

Lianalet

View Postlianalet, on Mar 6 2006, 04:39 PM, said:

I want to append the path within a application installation batch file. Here's a copy of the the file:


@echo off
pushd %~dp0

echo.
echo "Installing Python"
msiexec /i python-2.4.1.msi /qb REBOOT=ReallySuppress
echo "Finished Python"

popd


I want add c:\python24 to the PATH. Please advise with the syntax to make that happen.

Lianalet



View Postlianalet, on Mar 6 2006, 04:39 PM, said:

I want to append the path within a application installation batch file. Here's a copy of the the file:


@echo off
pushd %~dp0

echo.
echo "Installing Python"
msiexec /i python-2.4.1.msi /qb REBOOT=ReallySuppress
echo "Finished Python"

popd


I want add c:\python24 to the PATH. Please advise with the syntax to make that happen.

Lianalet




#2 User is offline   Bezalel 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 591
  • Joined: 11-October 05

Posted 06 March 2006 - 07:05 PM

SET PATH=%PATH%;c:\python24


#3 User is offline   lianalet 

  • Group: Members
  • Posts: 2
  • Joined: 06-March 06

Posted 07 March 2006 - 03:44 AM

:hello:

Thanks! You made my day!!!

lianalet

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy