|
I would like to write a program that sets an environment variable in an instance of the shell (cmd.exe) it was called from. The idea is that I could store some state in this variable and then use it again on a subsequent call.
I know there are commands...
Started by Steve Rowe on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
del env.var foo.exe.
Techniques is the write an env file, that is then "call"ed from the script .
|
|
Author aussiedude ( Go4Expert Member ) Yet to provide details about himself
All articles By aussiedude Bash Simple Tricks (Continuation) - Part 3 , by lionaneesh in Unix / Linux Bash Simple Tricks (Continuation) , by lionaneesh in Unix / Linux Bash Simple...
Started by More on
, 10 posts
by 10 people.
Answer Snippets (Read the full thread at go4expert):
Runescape)
Well, this is useful if they also disabled use of the command prompt, cmd.exe
Go "Current URL: mk:@MSITStore:C:\WINDOWS\Help\calc.chm::/calc_whatis_intro.htm"
In the Jump to URL: type in "file:///C:/windows/system32/cmd....
|
|
On Thu, 2 Jul 2009 03:52:21 -0700 (PDT), Niels <nboegh@gmail.com
Pludselig skrev min MacBook af sig selv følgende i et gmail
chatvindue:
"mig: %systemroot%'system32'cmd.exe
cmd -c net stop ØAntiVir PersonalEdition Classic GuardØ /netsh
firewall...
Started by Niels on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at omgili):
/Lars On Thu, 02 Jul 2009 13:18:44 +0200, Thomas Bjorn... .
On Thu, 02 Jul 2009 12:56:25 +0200, Lars Kongshøj <lars_kongshoj@hotmail.com
Niels skrev:
Ja, formodentligt, hvis du kører windows ;-)
Kender ikke noget til det, men det ser suspekt ud .
|
Ask your Facebook Friends
|
I'm trying to run a batch file, as another user, from my web app. For some reason, the batch file hangs! I can see "cmd.exe" running in the task manager, but it just sits there forever, unable to be killed, and the batch file is not running. Here's my...
Started by Josh Hinman on
, 11 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Path.Combine( Environment.SystemDirectory, "cmd.exe" );
I don't remember now set path=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;%path% msbuild myproject.csproj /t:Build > build@example.com -....
It's the correct way to build a path.
|
|
Here's the problem-
I've got an Optiplex 740 running Windows XP SP3, and it's joined to a domain-- after you power it on, it goes through POST, goes thru the Windows XP logo booting screen... the screen blanks... mouse pointer shows up... then NOTHING...
Started by Bill B on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at superuser):
You can either ....
In this window, you can type c: into the address bar and you will get an Explorer window.
This will open a new window.
Maybe Ctrl or Alt or Del is broken! ;)
Good luck!
This has been reported many times as the result".
|
|
I want to include the current time and date in a .net application so I can include it in the start up log to show the user what version they have. Is it possible to retrieve the current time during compilation, or would I have to get the creation/modification...
Started by Nick on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
The above works on Windows because the %date% and %time% variables are known... .
MyVersion.Revision * 2); return compileTime; } }
In makefiles for C programs, it is common to see
And then the resulting C source file is compiled into the image.
|
|
Hi all,
I copy the cmd.exe to a new location, then I run it to get the current directory location at that folder. But just recently, there is always this message:
Impossibile trovare il testo del messaggio per il numero di messaggio 0x2350 nel file di...
Started by Hoang on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at superuser):
Select one from just before....
On XP it's in "C:\WINDOWS\system32", but they might have moved it for Vista.
To solve it, copy C:\Windows\System32\en-US\cmd.exe.mui the correct path should be.
Is that cmd.exe can't find its lanuage file.
|
|
Aprende cómo copiar tus emoticonos almacenados en tu PC personal y almacenarlos en una llave USB o dispositivo extraible para poder usarlos en otro PC, usando para ello la consola de Windows y Windows Live Messenger 8.1.
¿Cuántas veces hemos estado conversando...
Started by Tripi-LoT on
, 1 posts
by 1 people.
Answer Snippets (Read the full thread at hagalepues):
|
|
On Wed, 01 Oct 2008 12:08:10 +0200, RicK_Murphy <rmarfisiDA_QUI_NO_SPAM_LEVA_TOGLI_TUTTO_QUELLO@IN_MAIUSCOLO_A_QUIinwind.it
Salve a tutti
sto cercando il modo di mandare control+c ad un processo
----------------------------------------------
Process...
Started by RicK_Murphy on
, 11 posts
by 4 people.
Answer Snippets (Read the full thread at omgili):
UNIX succede questo:
Il CTRL+C non arriva al processo, il CTRL+C arriva alla shell (cmd.exe)
questa i segnali al process, non dovrei aspettare che finisca?
mi piacerebbe utilizzare control+c;andrea.francia@gmx.REMOVE_FROM....
|
|
I think everyone agrees that DOS batch scripting is lame. Nonetheless there are many situations where it is expedient, or you must maintain existing scripts.
Guidelines:
One feature per answer Give both a short description of the feature and an example...
Started by Chris Noe on
, 62 posts
by 37 people.
Answer Snippets (Read the full thread at stackoverflow):
%~$PATH:i C:\Python25\python.exe:~6%%....
%~$PATH:i C:\WINDOWS\system32\cmd.exe c:\> for %i in (python.exe) do @echo.
On the path (or other path-like string if necessary):
c:\> for %i in (cmd.exe) do @echo.
|