Advertisement

Experts have come up with some helpful tips for getting a solution to your problem fast.

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Time Tested Windows Batch Solutions: 126 - 150 of 1088
 
Experts, I am generating multiple XML documents that I need to merge into a single XML document. Before I merge the documents, I need to remove the opening and closing tag from each file. H...
I am looking for some information on how to create a batch file that will search and delete specific files or files named a certain type.
VB Scipt Copy/Move log files From Multiple computers to single destination Rename log file with current date, computer name and original log file name Error logging if/when source computer...
I am trying to run a winrar archive update to a network share, and pipe the output to a logfile like this: rar.exe u -hepassword -as \\server\share\archive.rar D:\localfolder > D:\log.txt ...
Is there a way to read the last line of text file using a Windows batch file?  I essentially want to use the equivalent of "tail -1" in *NIX.  I eventually want to read the last line of each f...
Hello, I have the below batch file to learn batch file arithmetic: @echo off set TOTAL=0 set LIST=A B C D E F FOR %%A IN (%LIST%) DO (    if "%TOTAL%" == "3" (echo Total is now 3!) ...
For example, if I want to  launch "My Documents" in Exporer.exe, I can do a batch (.bat) file that is: start "" explorer "%HOMEPATH%\My Documents" If I want to  launch Drive "C:\" in E...
Hello, I created a simple one line batch file to backup some application config files (.cfg) to a backup directory on the local server. The line is: copy "\\server1\c$\folder1\*.cfg" "\\se...
Hi, I would like a script to look in a specific folder e.g. C:\testing\deletedates The delete any files where the date created is equal to todays date, all other files can be ignored....
Hi all,             I am new to batch scripting. Here is my requirement. I need to create a batch file which takes Server names as User input and checks with a List of servers whether it is...
Hi all I am storing list of files from 2 folders in a variable but the following code working like nested loop and I am getting out put like this Files in test1 folder :     text1.txt, ...
Need help with VBS Logon script to use in GPO (Where?) to map \\dc1\home as I: Drive, the Users login name to their own folder under \\Dc1\Home\UserName folder (as M: Drive), and 3 network pri...
I have a small XP network (Workgroup) with a network hard-drive that we are using for a backup. My predecessor created a backup schedule thru Robocopy but my problem is that the network drive ...
I am using MSDOS. Ver Command brings this up. Microsoft Windows XP [Version 5.1.2600] I am running a batch file named main.bat. If i browse to the folder and run the main.bat , it works...
is there a batch script that could delete all added printers without having to know each printers name ?
I have a file named 'eom_year.txt'.  It only contains '2007' in it.  However it has hidden spaces and carriage returns too.  I need to either fix this file or create a new file grabbing only t...
I have a complex MS Access program that pulls data from our AS400 system through ODBC and formats and appends it to a table in Access.  I created an automated piece that does the work so I don...
Hi, SQL server stores a '-' as '@2d' in a table and thus I need it to really be a '-'.  I run SQL to a text file then I run batch against the text file.  Thus I want to fix in my batch not ...
Hi, I'm looking for a .bat/.cmd file which able to delete all sub-directory's for given path in the parameter, it should delete all sub-directory's "except" the folder which is having toda...
Is it possible to run some code or software to convert java *.class files into *.html or *.txt files in a batch motion? For example, I have 20 .class files in one directory, is it possible...
I have a batch file, and i want to make it create a folder with todays date. i do not know how to set folder how i want it set folder= todays date in format of yyyymmdd mkdir E:\dbbackup...
I've a list of server IP's in a simple text file I want to perform a query on (lets assume ping). This list is updated automatically by a third party application. I want a batch script to simp...
I need to turn off windows firewall on some remote machines More specifically, i need to enable ftp (open port 21 and port 20) for future, so that i can run a specific type of update. (thes...
I want to run a script to uncheck the box under TCP/IP Properties | Advanced | DNS | Register this connections address in DNS. I know where the reg value is: HKLM\System\CurrentControlSet\Serv...
I have a master filing list of directories and sub directories (about 600+  that we use to create folders and sub folders in windows explorer - example - 1.1     General 1.1.1     File Index 1.1.2...