How can I get a list of running Excel spreadsheets from the MS-DOS command line while in Windows XP?
tasklist shows the programs running, but not the open windows or open excel files, so th...
I need to have a VPN tunnel created from a script. I have a cisco ASA. Obviously, I can setup a cisco client and connect manually, but can a VPN tunnel from a machine be created via some sc...
I want to run a series of pings to several servers on the network from the windows command line.
IE: ping server1
ping server2
I would like the results saved to a text file from the...
Please look at this batch file, and and modify it so that it can go through the list of printers and their ports (prns.txt & prts.txt) and run through the rest of the script in tandem - meanin...
hello, I have a harddrive which is MS DOS Bootable. I plan to install windows XP using DOS.
but how do I tell the setup to install without deleting DOS ? I want to be able to choose to boot...
Hi
To view what are the services running at MSDOS prompt, I used
"sc queryex"
What I need to know is
Q1:
if I want to start/stop Remote Desktop, what's the exact command?
sc st...
I have these 2 text files to do download of daily files
download.ftp
userid
password
binary
get %SenderId%APRF filename
quit
Download.bat
::DOWNLOAD
FTP -s:download.ftp xxx....
I have a BAT file process which has been used for several years by clients on their PCs without errors. The BAt files were used for taking a transaction file (called abstract file), renaming ...
Please give me a DOS script that does following:
Takes parameters: directory names<d>, type of file extension<e>, a regular expression<r>
It will search for all files of type <e> contai...
Hi,
I am using wget in a windows machine but everytime I run it, it generates a new file with the output of the script. In linux I send this output to /dev/null so the file is not created. ...
Hello Experts,
I need a Windows Batch script to rename a existing folder. My requirement is:
I have a Batch program which zips the folders with "Backup_11-08-2009_Ful.zip" to a particula...
Hi
I have the following batch file that I run with a parameter of either Live or Test.
I want to populate the %to% variable with the Live email address or Test email address based on the...
I have a customer with a legacy batch file running that I need to modify very slightly. It set a dos variable called MyServername that contains \\Servername.
What I need to do is creat a new ...
Hello,
I've got DOS 6.22 placed on a bootable cd. I've fdisked, created a partition of 2GB and formatted the C: drive. I then run setup.bat off the bootable disc. It begins the install proc...
Previously someone wrote a batch file for me to copy specified files on my local system to our server. Now I am in need of another batch file that will look in a specified folder on my server...
Want to delete all files (only files) in a directory and its sub directories and sub-sub dirs., etc.
Do our experts know a Dos command for that?
If not, can anyone share his/her code to per...
Experts,
The code I have below gives me the output in Integers, whereas I require them in the decimal.
For Example if C Drive space is 900 MB it should display 0.87891 GB.
Currently ...
Hi there;
I couldn't find the old edit in my msdos prompt of my Vista..
Where is the edit in my msdos of Windows Vista Home Premium 64-bit?
Best regards.
I'm using the DOS subst command to map certain folders to a drive letter. How do I automate this in Windows (Windows 7) so that ever time I reboot it gets mapped automatically?
I am trying to change the default directory that my computer starts in when I go to the cmd prompt. I am using Server 2008 OS. Trying to get it to start at C: vs. c:\Documents and Settings
...
I have a script that will copy a single file at a time, but it does it recursively. If I have 1000 .jpg images in DirectoryA, how do I copy only 1 of them (randomly is fine) to DirectoryB? .....
When I click on 'Run' -> "cmd" and click on 'Enter', the command prompt appears. Then a message shows "Press any key to continue". After pressing any key, it reboots the computer.
How to r...
1.) Control Script:
I need a script that will manually start three different services. The three services must be started in a specific sequence. The services also take 10-20 (changes from ti...
Hi,
I am looking to run a .exe program in DOS every second for about 180 seconds. However, I want the next instance of the program to start even if the previous one hasn't finished yet.
...
Hello,
I am in need of a batch file that can check to see if a file in c:\ has changed and if it has do something. Below is my feable attempt.
Thanks, Russ