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
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
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.
Summary: Hi, Does anybody know how to modify environment variables in win98, i know how to do it in XP (which is very simple), but i got no clue how to do it in win98. Thanks. ...
Summary: Hi there, Does anyone know any way to identify what hardware profile you are using, while processing config.sys and autoexec.bat, like an environment variable or something? I'd like to import a reg fi...
Summary: I ran SiSoft utilities and I'm not clear on all of it: What are "environment variables"? It says under this subject: - prompt=$p$g - CMDLINE=WIN What does this tell me? Also, I was wondering - wha...