2000 organizations, including eBay, Ericsson, and Lockheed Martin, now work smarter with Corporate Accounts. Save over 36%!

 

Having problems asking a question? Have a general question about Experts Exchange? Let us know!

 
Time Tested MS DOS Solutions: 101 - 125 of 1604
 
I want to add all the jar files in a directory to my CLASSPATH from my batch file. I tried something like: set PRE_CLASSPATH= for %%i in (c:\java\lib\*.jar) do set PRE_CLASSPATH=%%i;%PRE_C...
Hello, I'm trying to trim whitespace from a string variable.  I've figured out how to left trim, but can't figure out how to right trim.  There are some examples on the web, but to work the...
I would like to automate the process of uninstalling Symantec Antivirus Client from about 40 Windows XP clients who are part of Windows Server 2003 domain and the only thing I am stuck at is h...
I wrote a login script (batch file) for all users (windows xp). The problem i have is that the command prompt window doesn't close automatically after the script is executed.  Is there a comma...
Is there a way to kill a process though a DOS Command.  Say you want to kill a lotus notes process or any process that is in memory, an item that is showing in taskmanger and you want to stop ...
One quick question How do I stop a batch file while it is running?  
I need to install Win 3.11 into a VM on VMWare Workstation to get some old files. I have a technet subscription, where I downloaded DOS 6.0, DOS 6.22 (upgrade only) and Windows 3.11. App...
Hi,     Is there any code or references that i can read to hide the console window?? Because it is quite annoying seeing console window appearing averytime i execute batch files... kindly sho...
HI, i'd like to do a simple upload script in one file. I know from PAQ i can do in 2 files: upload.bat... ftp -s:ftpscript.txt ftpscript.txt... open servername user password cd we...
Hi, I'm trying to write a batch file to read a textfile line-by-line and after manipulating with each line (substring, concat etc), delete some files from another directory. Content of m...
Hi Experts Can anyone direct me to the best DOS emulator for vista. It doesn't have to be free. It would really help if the emulator was not full screen but ran within a windows form and...
Due to a problem in WSUS I need to delete registry keys on up to 250 networked machines. The process below needs to be run... delete the below keys.. HKLM\Software\Microsoft\Windows\Curre...
I need to write a bat file that, when executed, will open the primary cd tray.  Now the idea is to keep this simple.  I want to just click and open.  No user interface whatsoever.  Doesn't sou...
I need to be able to print to a Windows Printer (connected by USB) using the command line. I'm getting an error trying to do this. This is my example: I type in: print /D:QL550 test.jpg ...
I have a batch file on a CD that copies an Access Database (type mde) from the CD to a folder on the hard drive. The Batch then copies a shotrcut from the CD to the desktop. The command that I...
Hi do I use dos command to check disk size? used and free space?? for all my drives
i had started to write batch files in ms dos. the problem is files "*.dma" exists in "c:" drive in diff sub directories. My batch file should find all "*.dma" files from drive and delete them ...
When I run the following script it will always open a new window to run the external command wget.   If I use the objShell.Exec command it runs without opening a new window but the status of ...
I just wanted to know the dos command to open a particular web page.  I plan to make the command into a bat file. Also, if you happen to know how I can specify a username and password for t...
How can I output the results from a dos command line to a txt file on the root of c?
hello experts! im just gone over to Windows vista becouse got the RTM version from my school.. im haveing a hard time release a ipaddress from a NIC Here is the output : C:\ipconfig ...
Hello, my memory is shot on this one. I cannot remember how to append the contents of one text file into another. I tried: Copy source.txt >>dest.txt but the results say that the file canno...
This is the sample content of my text file: 81310:CVDL03 81210:CVDL01 92945:CVDL05 where: left side => target device right side => lot control I can do this using shell script but...
I like to create a batch file, so that a file name will have datestamp in it.  I created one but Year does not appear in file name.  Also, I would like to add 4-digit timestamp and delete "-",...
There is the "systeminfo" command In WinXP and Windows2003 that lists out hotfixes installed as part of the text output. I'm looking for an equivalent in Windows 2000 Server. Basically I ju...