Computing.Net > Forums > Windows 95/98 > EXPAND environment variable

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

EXPAND environment variable

Reply to Message Icon

Name: bigfatroundguy
Date: December 27, 2005 at 21:34:48 Pacific
OS: DOS 7.1
CPU/Ram: Pentium 3 - 384M
Comment:

Does anyone know the effect that the following command has within an Autoexec.bat file:
set EXPAND=YES
It is typically found on bootdisks and I googled everywhere and found nothing



Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: December 27, 2005 at 21:51:39 Pacific
Reply:

It's not on any of my boot disks, nor any I have seen.

Plenty of references on the web.

http://search.yahoo.com/search?p=%22set+EXPAND%3DYES%22&sm=Yahoo%21+Search&fr=FP-tab-web-t&toggle=1&cop=&ei=UTF-8



If at first you don't succeed, you're about average.

M2


0

Response Number 2
Name: jboy
Date: December 27, 2005 at 22:18:31 Pacific
Reply:

It's on a great many from bootdisk.com & others, but seems absent on those that don't create the temporary RAM drive.

Set it to 'No' and see if there's any difference

If you get people asking the wrong questions, you don't have to worry about the answers


0

Response Number 3
Name: WhitPhil
Date: December 28, 2005 at 13:17:34 Pacific
Reply:

It is "just" a variable.

It will have no affect on anything UNLESS the batch file makes reference to it.

You will have to look at the file itself to see what it is used for.


0

Response Number 4
Name: melee5
Date: December 28, 2005 at 19:23:49 Pacific
Reply:

Another site suggests that it is used primarily for MS-DOS setup/installation disks where self-expanding installation executables use it to either expand for installation or not expand/install depending on the value (or existance?) of that environment variable. I don't have any such disks nor have I ever done that, so it's just a big ol' WAG on my part.


0

Response Number 5
Name: bigfatroundguy
Date: December 30, 2005 at 21:02:10 Pacific
Reply:

I continue to tinker...
I have removed the set EXPAND=YES and it seems to have no impact on my autoexec.bat successfully decompressing (using extract) the ebd.cab file onto a ramdisk (i tried several commands without issue).

If this environment variable served a purpose at one time, it certainly isn't obvious what purpose it serves now.


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 95/98 Forum Home


Sponsored links

Ads by Google


Results for: EXPAND environment variable

Environment variables www.computing.net/answers/windows-95/environment-variables/148297.html

Hardware profiles environment variables? www.computing.net/answers/windows-95/hardware-profiles-environment-variables/61806.html

Sectors & environment variables www.computing.net/answers/windows-95/sectors-amp-environment-variables/47662.html