bigfatroundguy Posted December 28, 2005 Posted December 28, 2005 Does anyone know the effect that the following command has within an Autoexec.bat file:set EXPAND=YESIt is typically found on bootdisks and I googled everywhere and found nothing
ssmokee Posted December 29, 2005 Posted December 29, 2005 Does anyone know the effect that the following command has within an Autoexec.bat file:set EXPAND=YESIt is typically found on bootdisks and I googled everywhere and found nothingLooks like it is just setting an environment variable. What it does exactly depends on who wrote the config.sys and autoexec.bat files.
bigfatroundguy Posted December 31, 2005 Author Posted December 31, 2005 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.
os2fan2 Posted December 31, 2005 Posted December 31, 2005 expand itself does not use any environment variables.You might try doing something like grepping for "SET EXPAND" in your batch files, eggrep -i "set expand" *.batDOS, Windows, or expand is not going to fall over because EXPAND is not in the environment. I suspect it's a woofy setup proggie that stuck it in there, but forgot to clean up after itselfwoof = sound of dog (ie it's a dog of a program). it refers to an correct implementation of a bad design [which is not a bug]. A dog of a program has lots of bad design faults, whether or not it is buggy as well.W
HyperHacker Posted January 2, 2006 Posted January 2, 2006 How do you grep in Windows though? I think it has to do with the replacement of environment variables with their contents in various places.
os2fan2 Posted January 2, 2006 Posted January 2, 2006 you could download a grep.exe from somewhere.Semware Editor comes with one, as does the Resource Kits. you can search for lots of other freeware ones. Findstr.exe from Winnt 4.0 or the Win98 resource kit works under Windows 9x.W
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now