Articles & Videos
Microsoft Disk Operating System (MS-DOS) was an operating system for x86-based personal computers, and traces of it are still found in the Windows operating system. DOS is still used in some embedded systems and for certain legacy 16-bit networks.
I had this question after viewing Windows updates batch files (https://www.experts-excha
Had a previous question in regards to doing a …
Having trouble getting this to work per various searches. I basically need to exclude all the *.dat files in my .zip archive.
I believe I need the ' -x!*.dat' but can't figure out where to …
# Look for a variable
# Loop and check variable %status%
# wait for 5 seconds
timeout /t 5
if status != "RUNNING" then
When I execute a command line execution. it returns an output like below.
task_name, description, 11, In_progress
task_name, description, 12, In_progress
task_name, description, 13, In_progress
How to split number value into 5. I have 3 parameter passed to a batch file
# How to get each individual range inside a loop
I had this question regarding my previous post: Help adding usb port to computer running on ms dos …
I have a .txt file, the file has a list of set like below
I have a script that builds some files on the fly. Every file created needs the last line to be !
I can't figure out for life of me how to get it to work....
Hello fellow experts!
Running into an issue with a batch file we have, with the purpose to install windows updates offline.
The above works great, but ONLY if it is run in a local …
I am pasting this string below into a command prompt window and hitting enter
I am then prompted for a password.
Is there any batch file or script I can build to automate this?
I am running a batch script that checks for error files in a specific folder every 60 seconds.This script deletes any error file with size 0 kb(empty file).
If the file size is greater than 0 kb it …
Below is a little bit of code I use to add the current date to a file name.
How can I modify the code to add the prior day's date?
I need to gather information form over 100 thin clients and I was hoping to use WMIC command line tools so I don't have to log into each machine. These machines are not on our domain so I'll need to …
I am looking for a file on an FTP site that matches *[NAME]*.dat. Is there a particular ftp command to achieve this? e.g. dir *[name]*.dat
I have a folder with its sub-folder and sub-folder... I want to have a script to export its network path directory along with the file names into a text file
As seen attached, I have a backup script that performs daily backup, however would only like to keep files that were modified and have different size from previous file, as seen …
I am trying to get a package name (which varies on each computer, but all have in common the string "embeddedlock") in order to pass to DISM /Remove-Package command.
If I run:
Then I …
I want to delete all Word documents (.doc) and text documents (.txt) in a network directories, how to do that?
I have a simple batch file that gave me an error that never happened before.
I've been using the script for about 3 years without any issues until now and I don't think anything changed.
I have the following script with a date variable on a server and it is not working. Not sure why
This is how the file is saved data.1-09-0-0_105753.backu
On another server, it looks like this …
"D:\SQL 2008 R2\x64\Setup\sql_engine_co
gives this error:
Access to d:\tempfiles …
I mange a bunch of daily generated files for our company, which has many properties, and I am having trouble with my script. Here is our workflow; each property copies their files to a …
how can I find out with DOS commands to know
1)when a local account will expire (account itself)
2)when a local account password expires
Need help modifying this following script where it will search for files within \\NTAPP\E containing the values specified in the text file attached.
Ex. *24558*, PO 24558, PO 24558-1A
Using dates in 'DOS' batch files has always been tricky as it has no built in ways of extracting date information. There are many tricks using string manipulation to pull out parts of the %date% variable …
One of my most closely kept secrets is revealed in this discussion How to output text on the same line This question was recently posted in EE by Simon336697 (http://www.…