Results 1 to 6 of 6

Thread: Enviroment space question

  1. #1
    ChimpFace9000
    Guest

    Post Enviroment space question

    Im using windows 98. I have VC++ installed. In the bin directory, theres a batch file called VCVARS32.BAT that sets some variables so that you can use VC++ from the command line. This is the file...
    Code:
    @echo off
    rem
    rem Root of Visual Developer Studio Common files.
    set VSCommonDir=C:\PROGRA~1\MICROS~3\COMMON
    
    rem
    rem Root of Visual Developer Studio installed files.
    rem
    set MSDevDir=C:\PROGRA~1\MICROS~3\COMMON\msdev98
    
    rem
    rem Root of Visual C++ installed files.
    rem
    set MSVCDir=C:\PROGRA~1\MICROS~3\VC98
    
    rem
    rem VcOsDir is used to help create either a Windows 95 or Windows NT specific path.
    rem
    set VcOsDir=WIN95
    if "%OS%" == "Windows_NT" set VcOsDir=WINNT
    
    rem
    echo Setting environment for using Microsoft Visual C++ tools.
    rem
    
    if "%OS%" == "Windows_NT" set PATH=%MSDevDir%\BIN;%MSVCDir%\BIN;%VSCommonDir%\TOOLS\%VcOsDir%;%VSCommonDir%\TOOLS;%PATH%
    if "%OS%" == "" set PATH="%MSDevDir%\BIN";"%MSVCDir%\BIN";"%VSCommonDir%\TOOLS\%VcOsDir%";"%VSCommonDir%\TOOLS";"%windir%\SYSTEM";"%PATH%"
    set INCLUDE=%MSVCDir%\ATL\INCLUDE;%MSVCDir%\INCLUDE;%MSVCDir%\MFC\INCLUDE;%INCLUDE%
    set LIB=%MSVCDir%\LIB;%MSVCDir%\MFC\LIB;%LIB%
    
    set VcOsDir=
    set VSCommonDir=
    And this is what i get when i run it...
    Code:
    Out of environment space
    Out of environment space
    Setting environment for using Microsoft Visual C++ tools.
    Out of environment space
    Out of environment space
    Out of environment space
    Is there a way i can increase the enviroment space?

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    for dos you'd use the shell command. Don't know for WinNT though.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3
    ChimpFace9000
    Guest
    Really, you think.

  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Change your MS-DOS Prompt shortcut on the Start Menu, and under Memory give it 8192 for environment
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  5. #5
    ChimpFace9000
    Guest
    Actually i went into config.sys and put
    Code:
    SHELL=C:\COMMAND.COM /E:1024 /P

  6. #6
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    That mostly worked when I did that before, but it occasionally did random things so I had to stop using it
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width