Search 5,000,000+ questions and answers.

Frequently Asked Questions

How can I change colour within a batch file?

Environment settings set by a batch file are not working.
You can use the Windows NT Workstation 4.0 Color command to set the Command Prompt window colors. For example: sets the colour to yellow on black. The first part is background colour, the second the foreground and are:
Related Questions

How do I call a batch file from within another batch file?

Environment settings set by a batch file are not working.
It is possible to just enter the name of the batch file in a batch file which will run the called batch file however once completed it will not pass control back to the calling batch file leaving the rest of the calling batch file unrun. For example suppose we had the batch files If you then run calling.bat you would not get the line "Back to Calling bat" displayed as after called.bat terminates it does not return to calling.bat.
Related Questions

What is a batch file?

Environment settings set by a batch file are not working.
A batch file is just a text file with a .bat or .cmd extension that adheres to a syntax and a set of valid commands/instructions. To run a batch file just enter the name of the file, you don't need to enter the .cmd or .bat extensions. In line with programming tradition the first batch file we write will output "Hello World". Echo means output to the screen anything after it (the @ suppresses the command being printed to the screen, try it with and without the @).
Related Questions

What commands can be used in a batch file?

Environment settings set by a batch file are not working.
Windows NT 4.0 introduced some extensions to cmd.exe, so to use these make sure HKEY_CURRENT_USER\Software\Microsoft\Command Processor\EnableExtensions is set to 1. The following is a list of the more common commands you will use This is used to call one batch from inside another. The execution of the current batch file is suspended until the called batch file completes Used to stop batch file execution.
Related Questions

How can I pass parameters to a batch file?

Environment settings set by a batch file are not working.
When you call a batch file you may enter data after the command which the batch file refers to as %1, %2 etc, for example the batch file hello.bat if called as "hello.bat john" (you don't need to enter .bat extension, I just use it here as I used bad file names :-) ) expands %1 to a fully qualified path name. If you only passed a file name from the current directory it would expand to the drive/directory as well changes the meaning of n and x options to reference the short name.
Related Questions

How can I call a subroutine in a batch file?

Environment settings set by a batch file are not working.
An easy way to do this is to have the batch file call itself recursively and pass itself a couple of parameters, like so: Be careful! Recursive batch files can be dangerous, especially if your subroutine fires off another program. Note the syntax for calling subroutines (with parameters) and the special construct for returning (goto :eof).
Related Questions

Why the teeth change colour?

mpladent A??z ve Di? Sa?l??? Poliklini?i ......................
Before all else the teeth can be darker colour as a structure or in time. If it's to depending us tooth coloring nutritions (cigarette, tea, coffee, cola) rather frequently. Teeth change their colour. Further more, if was taken over use tetracycline type of antibiotic or four. They can be efficient cause of toot coloring.
Related Questions

How do I create a batch file to optimize D2_3DFX?

The Official D2_3DFX FAQ - Frequently Asked Questions
The best and easiest way to optimize D2_3DFX is to write a batch file (.BAT) to launch D2_3DFX.EXE for you. This BAT file will also include a number of environment variables which affect how the program behaves. If you have trouble with "Out of environment space" messages, see the solution above. Preparing the BAT file is easy: Just copy the text below into a text editor and save the file as a .BAT file in your Descent2 directory. You can call it whatever you want - d2_3dfx.bat is recommended.
Related Questions

How do I search files for a string from a batch file/command line?

Environment settings set by a batch file are not working.
There is the basic find command which allows you to search one file at a time for string, however findstr is far more versatile. The command has the following switches FINDSTR [/B] [/E] [/L] [/R] [/S] [/I] [/X] [/V] [/N] [/M] [/O] [/F:file] [/C:string] [/G:file] [strings] [[drive:][path]filename[ ...]] When you execute a batch file (or any other DOS command without a pif setting) the _DEFAULT.PIF file in the %systemroot% directory is used.
Related Questions

How do I enter freehand comments in my batch file without using 'rem'?

Environment settings set by a batch file are not working.
When NT batch file processing encounters the goto command, it ignores any lines in the batch file until it finds the appropriate goto label: WordPerfect 6.1 works, but 'Draw' returns peculiar anomalies. In earlier versions of WP it include 'PTR.EXE' which was a kind of printer driver program. In NT drivers edited with PTR add some mysterious control codes that cause the printer to print additional blank pages. The distribution driver with WP61 does not do this. See http://www.ntgamepalace.
Related Questions

How can I run another application or batch file from my Visual Basic .NET code?

Visual Basic Frequently Asked Questions
The answer for all of these examples is the same, you can use the classes and methods in System.Diagnostics.Process to accomplish these tasks and more. Example 1. Running a command line application, without concern for the results: Private Sub Button1_Click(ByVal sender As System.Object, _ Example 2. Retrieving the results and waiting until the process stops (running the process synchronously): Private Sub Button2_Click(ByVal sender As Object, _ Example 3.
Related Questions

Why do I see "Out of Environment Space" when trying to use a batch file to launch D2_3DFX?

The Official D2_3DFX FAQ - Frequently Asked Questions
When this happens, you indeed have run out of environment space (the memory space used for environment variables, which include your PATH statement, the location of your TEMP directory, etc.). To correct this problem, simply add the following line to your CONFIG.SYS and reboot your computer: Barring any serious setup or configuration problems in Windows, this solution will work for ALL DOS-based programs, BAT files and command-prompt shells.
Related Questions

Why does the color and taste of ionic/colloidal silver change from batch to batch?

SOTA Instruments Inc. - Frequently Asked Questions (FAQ's)
Distilled water not only varies from one part of the country to another, but bottles of water from the same company can vary. Water, therefore, is the big variable when making ionic/colloidal silver. If you're uncertain of the PPM you're producing, it's best to run the unit until the water turns a pale yellow. You can then cut the time by a few minutes and you should have approximately 5 PPM .
Related Questions

Is it possible to stop/start Idem from a batch file?

FAQ about Idem folder synchronization software - Support
If you want to manage different set of parameters, save the 2 files Idem.ini and Idem.w (for example as Idem1.ini and Idem1.w for a first set of parameters, and Idem2.ini and Idem2.w for a second set of parameters). Then in the batch file:
Related Questions

How do I format a file for batch processing?

Cyber-Freight.com Cyber-Freight.com FAQs
The batch process requires that you submit a comma delimted file, (each bit of data is seperated by commas), and the file must be in standard ascii text similiar to that created by the notepad program that comes with Windows. For the specific details, please see the batch processing help.
Related Questions

How can I output all of a batch file's arguments?

English Windows FAQs 2003
Although you can typically output only nine parameters from a batch file, you can use a percent symbol (%) followed by an asterisk (*) to output all parameters for all arguments passed into a batch file. For example, if I run test.bat
Related Questions

How can I shift down by one all of a batch file's arguments?

English Windows FAQs 2003
You can use the Shift command to move all the arguments in a batch file down by one. If the batch file calls this command once, then argument %1 would become the second argument instead of the first and argument %0 would become the first argument instead of the name of the program or batch file. For example, when I run test.bat You can optionally add /n to the end of the shift command where n is the argument to start from.
Related Questions

How can I change the encrypted file icon?

Frequently Asked Questions
We don't think there is much sense in changing the associated icon (this trick won't fool a serious opponent), but yes, you can do that. Open the Windows Explorer and select the Tools / Folder Options command. Switch to the File Types pane and select the edc (or ebk) extension. Press the Advanced button and change the icon to anything you wish (see screenshot).
Related Questions

How can I change the name of a file?

My Docs Online FAQ - Frequently Asked Questions
You can change the name of any file. Check the box next to the file name, then click on the "Details" button at the top of the screen. In the textbox next to "Rename" type the new name of the file, then click the "Update" button. Remember to include the extension when renaming the file.
Related Questions

How do I change the name of the exported file?

NJDEP Air Quality Permitting Program (AQPP) - RADIUS
I need to permit a storage tank, and believe I can use the General Permit, but I am having a difficult time locating the forms.
Related Questions

How do I change a file association?

Answers to Frequently Asked Questions
Now select the file type that you want to change and click on 'change'. Select the program that you want to use to open the selected file type and press OK.
Related Questions

Q - Can I change the colour of my bath from a colour to white or white to a colour?

renu bath -
A – Yes, please see the colour matching section for our range of 24 pre-mixed colours and Match & Mix service.
Related Questions

How do I change SciTE to use black as the background colour?

SciTE FAQ
You need to change the style settings. The main change is in the user options file to the global default style and caret colour but you may have to change other style settings to make this work well:
Related Questions

Why does the water colour change?

How is the Q2 Energy Spa used?
The colour change in the water can be attributed to a multitude of variances including, the water quality you are using, your health status, and the weather conditions, just to name a few.
Related Questions

Will the gold colour fade or change?

Diamond Jewellery
Vanshi Diamond Jewellery is made by alloying pure gold to the desired karatage. It is not plated. There will be a slight color variation between various karatages of gold. For example 18KT electroformed gold will be pale yellow. The color of the product will not change or fade over time. However with frequent wear, dirt tends to accumulate on the product, giving it a faded look. This can be removed using a simple mild soap solution to bring the luster back.
Related Questions

How do I change the colour of a sticky?

FAQ
Right-click the title bar of the sticky, and choose a colour from the dialog which appears when you choose "Set Colour" on the menu. You can set the colour of all new stickies you create by selecting the colour you want under Sticky Colour... for the Default style in the Styles dialog (right-click the task-tray icon and choose Styles).
Related Questions

Why do leaves change colour in the fall?

City of Toronto: Access Toronto
Leaves change colour due to biochemical processes within them that are triggered by diminishing amounts of daylight, longer nights, and weather factors. Leaves contain three types of natural substances called pigments which determine leaf colour both during the growing season and in the fall. Chlorophyll is the dominant pigment in most leaves and it gives them their green colour in spring and summer.
Related Questions

Got A Question? Ask Our Community!


More Questions >>

© Copyright 2007-2008 QueryCAT
About • Webmasters • Contact