Search 5,000,000+ questions and answers.

Frequently Asked Questions

What can be done with a batch file Logon script, besides launch a VBScript program?

Logon Script FAQ
A batch file Logon script can connect drives to network shares, connect to shared printers, and run command line utilities. Anything you can do at a command prompt can be done in a batch file. For example, a batch file Logon script that maps a drive to a network share and connects to a printer could be similar to below: However, a batch file by itself cannot use ADSI to retrieve information from Active Directory.
Related Questions

Can I use a VBScript program for a Logon script on all clients in my domain?

Logon Script FAQ
Yes. The client operating system must be at least Windows 2000 in order for the actual specified logon script to be a VBScript program. All older clients should have a batch file defined as the Logon script. If any of your clients have Windows 95, Window 98, Windows ME, or Windows NT, it is recommended that you designate a batch file as the logon script for all users. Fortunately, the batch file can simply launch a VBScript program.
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

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

How do I execute script-fu from batch mode?

GIMP - Documentation
Invoke the script as non-interactive and add a pair of escaped quotes around each string just like you do in (script-fu-register). You DO NOT need to replace '-' with '_' in any names or registrations.
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 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 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

How much of my logon script will it replace? How long will it take?

Desktop Authority® - FAQs - ScriptLogic
Desktop Authority covers every aspect of desktop configuration: from drive mappings to registry changes to application rollouts. Anything Desktop Authority cannot do natively can be accomplished using a small amount of custom scripting applied with the control of Validation Logic to determine exactly for whom and when it is run. Configuring all your desktops is quick and easy, with huge time savings over the ordeal of writing and maintaining traditional scripts.
Related Questions

How do I execute a batch file or shell script from Ant?

Apache Ant - Frequently Asked Questions
On native Unix systems, you should be able to run shell scripts directly. On systems running a Unix-type shell (for example, Cygwin on Windows) execute the (command) shell instead - cmd for batch files, sh for shell scripts - then pass the batch file or shell script (plus any arguments to the script) as a single command, using the /c or -c switch, respectively. See the above section for example <exec> tasks executing sh. For batch files, use something like: <exec dir=".
Related Questions

Can Robo-FTP return a value from a script so my batch file knows what happened?

Robo-FTP: FAQ
Yes. Robo-FTP uses the /exitcode option on the EXIT command to return a numeric value to the batch file, so your batch file will be notified.
Related Questions

How long would it take to launch a program in my state?

FAQ
Once we have the required funding and input from collaborating local health and service organizations within the state, we can implement the First Signs program within 3-4 months. What generally takes a long time is for organizations or agencies within a state to raise the necessary funds.
Related Questions

How do I launch the program?

Buddi - Frequently Asked Questions
That depends on what operating system you are running. If you are in Windows, simply double click on the Buddi.jar file. If you are on a Macintosh, double click on the Buddi application bundle. If you are on Linux or some other platform where the association of .jar to the Java VM has not been set up, type 'java -jar Buddi.jar' on the command line.
Related Questions

How can I install the Agent component of the program silently using a logon script?

Desktop Scout Spy Software - Frequently Asked Questions
The logged on user must be part of the Administrators group otherwise the installation will fail. After installation is complete, the Agent password will default to the word "password".
Related Questions

Can I put the mbsacli -hf command in a logon script?

Frequently asked questions about the Microsoft Network Secur...
http://www.microsoft.com/technet/security/tools/mbsaqa.mspx (http://www.microsoft.com/technet/security/tools/mbsaqa.mspx)
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

What is VBScript?

mod_gb FAQ
It is common knowledge that ASP == VBScript. Wrong. ASP is simply a specification for a web programming environment which can be used by several languages. VBScript is certainly the most popular, but ASP pages can also be written in JScript (Microsoft's own version of Javascript) and there is also a Perl module (Apache::ASP) which allows you to use the ASP objects from Perl. VBScript is a subset of Visual basic for Applications, which in turn is a subset of Visual Basic.
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

Back to top What are the steps to creating a Hurricane Batch script?

Hurricane for AutoCAD - FAQ
Press the "Create Script" button, and you should see Notepad open with your "Compiled" script (you can disable this automatic display feature in the "Tools -> Options" menu and PREFS Tab) Open AutoCAD, and run the script... (you can run it using several methods... see AutoCAD Setup - Add Hurricane Button in AutoCAD)
Related Questions

How to launch it?

CD to MP3 Ripper FAQ - Frequently Asked Questions
When the CD to MP3 Ripper is installed successfully on to your computer, there should have a shortcut created on the desktop, you may double click it to launch it. You may also run it from "Start > Programs > CD to MP3 Ripper > CD to MP3 Ripper".
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

Got A Question? Ask Our Community!


More Questions >>

© Copyright 2007-2008 QueryCAT
About • Webmasters • Contact