Technology Questions

Go Back   Technology Questions > Software Questions > Operating System Questions > Windows XP

Windows XP Discuss the Microsoft Windows XP Operating System

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 07-19-2007, 04:10 AM
Don Culp
Newsgroup Contributor
 
Posts: n/a
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


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 07-19-2007, 04:10 AM
  #2 (permalink)  
Old 07-19-2007, 04:40 AM
Pegasus \(MVP\)
Newsgroup Contributor
 
Posts: n/a
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


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
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?

All times are GMT -8. The time now is 09:34 AM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0