Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: environment variable
There is a Microsoft utility that can be used to set a global DOS variable in Windows 95. The utility is called "WinSet" and it's in a self-extracting archive file named "envars.exe". It's used almost identically to the DOS Set command, except it changes the master DOS environment in Windows 95.
What are you trying to do? If you are trying to return an errorlevel to WinBatch, see ERRORLEVEL.* in the samples subdirectory.
Are you trying to return other info to WinBatch? To write info to a ini file like thusly...
echo [MyData] > c:\temp\mydata.ini echo envvar=%envvar% >> c:\temp\mydata.iniIn WinBatch, do the following:
envvar=IniReadPvt("MyData","envvar",0,"c:\temp\mydata.ini")
Article ID: W12926Filename: Win95 and environment variables.txtFile Created: 1999:04:15:16:50:34Last Updated: 1999:04:15:16:50:34