|
| | |||||||
| Windows XP Discuss the Microsoft Windows XP Operating System |
| | LinkBack | Thread Tools |
| |||
| Specify environmental variable when starting command prompt? From the Run... option of the Start menu or from a shortcut in my Startup folder, is there any way to set an environmental variable at the same time that I'm opening a command prompt window. From the Run prompt I have tried: cmd "SET ALGMEM=2000" (also without the " ") but this doesn't work. I realize that I can manually set the ALGMEM environmental variable after the cmd window opens but I'd like to avoid this since I need to open many of these cmd windows, all with the same environmental variable. (Setting a global ALGMEM environmental variable via the control panel interferes with a Windows program that also uses the same environmental variable so this is not an option.) Thanks, Don Culp |
| |||
| Re: Specify environmental variable when starting command prompt? "Don Culp" <dculp@krell-engineering.com> wrote in message news:Ol67gPfyHHA.4640@TK2MSFTNGP03.phx.gbl... > From the Run... option of the Start menu or from a shortcut in my Startup > folder, is there any way to set an environmental variable at the same time > that I'm opening a command prompt window. From the Run prompt I have > tried: > cmd "SET ALGMEM=2000" (also without the " ") but this doesn't work. I > realize that I can manually set the ALGMEM environmental variable after > the > cmd window opens but I'd like to avoid this since I need to open many of > these cmd windows, all with the same environmental variable. (Setting a > global ALGMEM environmental variable via the control panel interferes with > a > Windows program that also uses the same environmental variable so this is > not an option.) > > Thanks, > Don Culp > Type this in your run box: cmd /k set algmem=2000 or even better cmd /f:on /k set algmem=2000 & mode con lines=50 |
| Bookmarks |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 10 seconds delay when starting 'command prompt' | Jim Brown | Windows Vista | 4 | 02-14-2009 03:36 PM |
| Command Prompt | Redcow | Windows Vista | 4 | 03-03-2007 12:30 AM |
| Command Prompt Here | Brad Palmer | Windows Vista | 4 | 02-19-2007 07:30 PM |
| Command prompt | Paulo | Windows XP | 8 | 01-04-2007 05:41 AM |
| command prompt | trying2learn | Windows XP | 0 | 01-04-2007 02:52 AM |
| New To Technology Questions? | Do You Need Help with Your Computer or Device? | Do You Need Help with this site? |