I'm writing a batch file. How do I check if a command line argument exists or not?
Example:
Run.bat abc def
How do I check in Run.bat that I have 2 input arguments?
IF %2% == "" THEN...
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...
I am trying to create a text file using a batch file. I format the text file then open it for the user to make entries into. I want to save the file name as follows.
computername_InstallerN...
Ok, I've been trying to tackle this for hours, days even. I've seen lot's of other activity on this, but have not found a suitable solution. This is my last hope!
There is a file on my desk...
Can someone please give me the code for creating a BAT File For Creating Folders from a TXT File List... Thanks
Hello,
i want to hide hide password input in batch called alot of isql procedure i have an example below but i need to hide password input.
when you start the bacth it call for password...
hello i need some help and assitance. i need to create a batch file that uses the users %userprofile% variable to scan the c drive for the following user data favorites, pst's , outlook signa...
I need to merge multiple (100's) of XML files into one file that I can import into a MySQL database.
There are two parts to this:
1) I need to add a tag for the file name
2) I need the ...
Can anyone help me create a batch file or a windows script that will check if the target pc (server for example) is online then if there is a reply it will execute a certain command and if not...
I want to make an entry in to the 'RunOnce' registry key that will execute a 'rmdir' command, but cannot find the syntax to do it. Can anyone help? Thanks!
Looking to make a batch file to upload multiple files in a drag and drop basis with a bat file.
I have the ability to upload files already was hoping to be able to make it drag and drop and w...
Good evening!
This time, I need to copy a complex directory tree in MS-DOS environment. This tree contains many and many files greater than 100 Kbytes, but I would like to copy the directo...
I have written a code which contains 4 dimensional array.After compling it shows zero errors.
but when i run it shows the following error:
NTVDM CPU has encountered an illegal instruction......
How to make or create MS-DOS bootable CD-ROM?
How to configure system files AUTOEXEC.BAT, CONFIG.SYS so it loads software like Norton ghost.exe and load MSCDEX.EXE GCDROM.SYS, which is ma...
Hello. I'm working with the 7zip command line tool, which is pretty basic. I've got my command set up to take all the PDF documents in a folder and place it in a zip with a password. I'm using...
Hello,
I would like to know of any DOS command or batch I could write to move files from Location A to Location B if they match a Date Created.
Example (psuedo): move *.txt to c:\locat...
hi
i'm trying to copy a rar file from a server to another server on the network (internal address)
when i try, i get the above error
i use a simple xcopy c:\rar\file.rar \\192.168.2.2\b...
I have a simple .bat that calls notepad using start:
start notepad
How can I tell what the PID is of the notepad that was started by this, so that I can kill it in the same bat, but not ...
Hi,
How can I install DOS 7.1 on USB Disk on Key?
Thank you in advance.
I'm pulling my hair out over this one.
CMD's properties show: Screen Buffer: w=80, h=300
Window Size: w=80, h=25
This is similar in appea...
Hi all, I have a need to push out a central host file to remote computers.
del results.txt
FOR /F %%a IN (list.txt) DO XCOPY /y c:\test2.txt \\%%a\c$\windows\system32\drivers\etc >> result...
Hi... is it possible just using DOS commands to do a search and insert in a file? For example, after searching the word "hello", then append "hihi" after it... There is no need for multiple re...
I will like to write a bat file script that will read a number of text file and replace all 1M with 4001, 2M with 4002 and 3M with 4003. The text file name is fixed.
Thanks for your help.
...
Hi all
I would like my batch file to check what service pack a PC has and if it has service pack 2 to GOTO a specific part of the batch file and if it has service pack 3 to GOTO a different...
Hi All,
Hopefully this may be an easy question for all you dos buffs out there.
First of all, my apologies, Im not that hot on dos scripting.
I m trying to automate the monitoring of sche...