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: 76 - 100 of 1608
 
Hello Experts: Currently I have an access db that runs the macro to create odbc connection to connect to sql server and below is the code that I use. I need to create odbc connection throug...
I have a Toshiba Satellite laptop computer to which was added a lot of network garbage from my former employer.  I now am attempting to remove same and am having no luck.  I have attempted to ...
please bare with me if this is an "easy" thing, but i am not used to work in batch files ... If it's not easy i will increment the points. Here is the thing i want to do: * on winnt / win2...
Sample data I have to work with:    abcd123, Joe Bloggs logging on to PC25 DOMAIN on <IP> on Thursday, November 2, 2006 What I want the output to look like:    Joe Bloggs - Thursday, ...
I work in an organisation which uses domain environment setup consisting of XP and 2000 Pro workstations. Occassionally i had to clean up temporary files and temporary internet files and cooki...
Hi, I'm having a text file which i want to read through a .cmd file Sample Text file: abc.txt Line 1 Line 2 Please note: i want to read only through the .cmd file and i want these t...
example path c:\temp\  --> have file a.txt,   b.txt,   c.txt I want return only filename without extension (.txt) -> a b c How do I code in Dos-batch file? Please advise, thank you
I've almost got my cleanup bat working.  I'm getting a ") was unexpected at this time" at the "for /F "tokens=1,2 delims= " %%i in ('dir %%X\%SRC5%\*.*') do if (%%j)==(File(s)) set _Count=%%i"...
The command: for /f %a in ('time/t') do echo %a The above command outputs the current local time. What command do I use to get an output in 24-HR time? For example: If I run this comman...
Hello all, I have a current need for a way to automate login and commands to fiber switches (Brocade, McData) from a DOS batch file, and save the output to a text file.  I cannot install an...
Experts, I'm trying to write a batch file that will scan through a folder and pick a certain file. The file that i'm looking for is the file that was put into the folder first. As files get d...
I was wondering if there's a way using the command prompt to see what ports I have open/closed in my computer. If this exist how can I close or open an specific port.
hi, i need to create a batch file that i can send out to my team once a wekk or month that will remove files from a directory i made on their machines. they have a directory of knowledge...
Im using psexec -s \\computer cmd to remote to a machine under the localservice account Once there I try and do a net use like this net use x:\\remotecomputer\share$ Error: The passwo...
Hi. We had a script in place on one server where old backup folders would be deleted which are older than 2 days. (Backup process creates folders with timestamp as name everyday). Since la...
To the brain-boffins out there: I need to delete all .pdf in a folder older than 24h, but I don't know much about batch files. I'll probably run it via a scheduled task. Thanx for your exper...
I have a bunch of files in a folder that need to all be renamed to include "1_" in front of them. I need to run a RENAME command that will take each filename in a folder and rename it to th...
Hello, I want to write an if/else in a bat file where, if this computer has certain names, execute the following code, else continue with the script. I found several websites that showe...
Hello, I have a batch file that I execute from a command line under Windows XP Professional. The command line runs a command line tool that needs to be run from the command line but it depend...
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 tried to format my pendrive but got the message "Windows was unable to complete the format". So i tried to format in dos. The message was "The type of file system is RAW. Please use  /FS swi...
Dear Expert GURU, I'm needing to set up a simple batch script to run every day to delete old backup files which are older than 7 days.  Is there an easy way to do this with windows batch s...
I am getting the error message "The system cannot find the drive specified." when I use multiple comment lines in the "do" portion of a "for" line in my batch file.  OS is Windows Server 2003 ...
I need to create a batch file that deletes files older than 2 weeks, based on the filename.  File name is as follows: ERRORLOG.DATETIME Your prompt assistance is greatly appreciated. Th...
Hello, I'm trying to trim whitespace from a string variable.  I've figured out how to left trim, but can't figure out how to right trim.  There are some examples on the web, but to work the...