How can I disable DLL Caching in Windows Vista via CMD?
I know Windows Vista (and XP) cache recently loaded DLL's in memory... How can this be disabled via the command prompt? ...
I know Windows Vista (and XP) cache recently loaded DLL's in memory... How can this be disabled via the command prompt? ...
I'm working on a command line application for Solaris, written in Java6. I'd like to be able to scroll through a history of previous commands using the up and down arrows like many Unix tools allow (shells, VIM command mode prompt, etc). Is there any standard way of achieving this, or do I have to roll my own? ...
I have a Virtual Machine in Virtual PC 2007. To start it from the desktop, I have the following command in a batch file: "c:\program files\Microsoft Virtual PC\Virtual PC.exe" -pc "MY-PC" -launch But that leaves a dos prompt on the host machine until the virtual machine shuts down, and I exit out of the Virtual PC console. That's an...
For example, suppose I have a batch file called 'test.cmd' and it simply contains: echo %1 I can call this directly from the command prompt with 'test.cmd some¬arg' and the result is that the string 'some¬arg' is printed. However if I place that same call in a second batch file, called 'tester.cmd' for the sake of argument, and I cal...
I'm trying to write a windows batch file that can delete files from subdirectories. I would rather not hard code the directory structure in, so I can use this process with other projects. I need to delete files of X type I have the parent folder C:\MyProject There are Y subfolders C:\MyProject\? There are N files to delete Is there...
I'm using WinRAR SFX module to create an installation, and use its presetup option to run some preliminary tests. Since wscript can only accept vbs file, and not the script itself, I first run "cmd /c echo {...script code...} > setup.vbs", and then I run "wscript setup.vbs". The run of the first cmd command opens a brief command window,...
Hello all, I use this ffmpeg command to take clips from a large VOB files that is on a DVD: ffmpeg.exe -i E:\VTS_02_2.vob -ss 00:00:57 -t 00:16:15 vids\VTS_02_2.vob It worked first for a VOB file but then I got these errors: c:\ffmpeg>ffmpeg.exe -i E:\VTS_02_2.vob -ss 00:00:57 -t 00:16:15 vids\VTS_02_2.vob FFmpeg version SVN-r15625,...
EDIT! Sorry to change the question on everyone, but I am really just asking: How do I create a shortcut (.LNK) file from the command line with as little outside help as possible? I really don't want to run a VBscript or to download a program to do it for me. Is it really that hard? Thanks to everyone who provided exceptional answers...
Pardon my ignorance but how do you compile a .CS file from a command-prompt window? And how do you execute? ...
I'm experimenting with CS-Script and my problem is that each time I run a script the console window is automatically closed when the script exits. How can I prevent this from happening? ...
I am writing a batch file for execute some other programs. In this case I need to prompt for a password. Do I have any way to mask the input text. I don't need to print *** characters instead of input characters. Linux's Password prompt behaviour (Print nothing while typing) is enough. @echo off SET /P variable=Password : echo %vari...
I have created a batch file to output a folder content into a list of names. @echo off cd /d %1 Title %~f1 dir %1 /b /l > %1\..\file_list.txt How can I make the file_list.txt to be "dir name".txt? For example I am at folder ABC and I want to output the dir list so that the final text file will be named ABC.txt instead of file_list.tx...
hi, Is it possible to pass an 'ELF 32-bit LSB executable(a.exe), version 1 (SYSV)' to a 'MS-DOS executable (EXE) (b.exe), OS/2 or MS Windows' as an argument. the reverse also? regards Renjith G ...
hi, I want to log my command prompt details that i have typed. Regards, Renjith G ...
Isn't that nicely recursive? I've got a portable command prompt on my external drive, and it has a nice .bat file to configure some initial settings, but I'd like more! Here's what I know how to set from .bat: Colors = (color XY) where x and y are hex digits for the predefined colors Prompt = (prompt $p$g) sets the prompt to "C:\...
I really have no idea why this is happening... I created a win32 application in emacs, and whenever I make it and run it (not through the command prompt), a command prompt window pops up under the window. If I build a win32 application in Code::Blocks, and just run its default template, then it runs without a command prompt window. I loo...
When i run an .exe file it prints stuff out to the screen. I don't know the specific line of where i want printed out but is there a way I can get python to print the next line after one that says "Summary" ? I know that is in there when it prints and I need the info right after. Thanks! ...
When I open a command prompt through Visual Studio, I get: Setting environment for using Microsoft Visual Studio 2008 x86 tools. C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE> What kind of tools are available, and what are the most common uses of this command prompt? ...
I need to know how to tell MSTEST to run all test projects in a solution file. This needs to be done from the command line. Right now I have to pass it a specific project file, I'm trying to get it to run from a SOLUTION file. I'm hoping this is possible, because in Visual Studio, hitting Ctrl+R, A, runs ALL tests in the currently ope...
Which tools can I use to take a screenshot of a Windows desktop from a script? I'm running poolmon.exe in a command prompt and I need to capture the output. So a solution which returns text would be preferred but I could write a simple converter for that. If the tool could capture a single window, that would be great. If it would even w...