What do you think about Windows 7? Write a review or a how-to about Microsoft's newest product and earn unlimited points!

 

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

 
Time Tested MS DOS Solutions: 126 - 150 of 1587
 
Hello Experts! This is a follow up Q to http://www.experts-exchange.com/Operating_Systems/MSDOS/Q_20955634.html? and is allong the same lines. Some one in the Visual Basic TA suggested this...
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 "-",...
Experts,       I am trying to check to see if a file exists using a DOS batch file. The code I have is : IF EXISTS C:\woo.txt (erase C:\woo.txt) ELSE ECHO woo.txt is missing >>"C:\IASCRIP...
Hello every one knows that the lines in dos text file end in CR-LF (CR='015') and test file in Unix end only in LF ( that is the reason why we see the ^M character when we transfer the file ...
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...
I am trying to use the for loop to read the the text file and return "TRUE" if equal to "ABC" Text file ABC     1 EFG     2 However, seems there is some problem if I use For loop and Goto com...
Dear friends: I need to assign the result of a DOS command such as "date /t" to a variable in DOS batch file. In linux I can use export var=`date` echo $var However, in W2k ...
Hi, How do I merge two text files into a single file. I am trying to write a bat script for that. Thanks
I need to create a batch file that runs 5 access queries one after another every 10 minutes. All of the queries are in the same database. Access is located in Program files\microsoft office\...
Hello,      I've been developing a batch file that searches for certain filenames using many combinations of wildcard strings and deletes them.  One of the strings I've tried to use in *~* ...
Hello, In a Windows DOS Console batch file I need to set the output of a command to a variable.  This is what technique I use now: time /t > %TMP%\time.txt set /p TIME1="" < %TMP%\time....
Hi Does anyone know how to fire a PHP script using a BATCH file? Thanks
Hi, can you make a keylogger witha batch file, if so can someone post an example.
I use wget to pull ftp files all the time, easy cheesy.  But I am trying to pull something using wget via http and am having issues.  Here is the syntax I am using: "c:\cygwin\bin\wget.exe"...
I have reg. change I would like to make Via a bat file that runs when a user logs in. The bat file runs fine under admin log in, but when I try to run it as a limited user it tells me that Reg...
I don't have the expertise or know-how to write a batch file to open and close Sybase sql. I can't backup my Sybase data cause it is running at the time my backup is being made. My error is "c...
Hello, I am translating a UNIX script to an MS-DOS command script. One of the lines uses sed functionality: Eg: cat $TIER.db.restore.sql | sed s/OLD_DB/$OLD_DB/g | sed s/BACKUPNAME/$BAC...
I need to write a script that will copy a file from a network share to the "C:\Documents and Settings\" & name "\Application Data\Microsoft\Templates\" folder. (name being the current user log...
I'm looking for a command line utility which allows me to send CTRL+ALT+DEL, so that I can lock the computer after a batch file run.
I would like to copy Files and Folders Recursively from a selected source directory to another selected target directory while keeping the same tree structure.  But if the file already exists ...
Dear All, My Advanced wishes for New Year 2007. I have written the below code to read each line in a file. But if there is a space, it is considering first word of line only. So what I hav...
How do you do basic arithmetic in Batch scripts? Thank you.
I want to say... del "C:\Documents and Settings\%USERNAME%\Desktop\shortcut.lnk" correctly. What I want to do, is remove a particular icon from a desktop, regardless of how they are log...
hello, this is an easy one for you guys! how do i count the number of arguments to my batch file. For example, i might want to echo an error string if not enough or too many arguments ar...
Hi Experts I've asked this as the result of a specific suggestion made by our expert leew in another DOS-related question in which I was contributing: "I don't know if BillDL and I have ...