Try this on some files in a test folder. I don't have a W2K box handy to test it on. ATM it doesn't perform the rename, it just prints the command on the...
I did note one error - the terms in the target portion of the rename command should be correct now. @echo off ... for /f "delims=" %%a in ('dir *.* /b') do ( ...
Works great!!! Thanks! So, for my own education, what I'm seeing is that we are not able to get into any file attributes that are not displayable on the...
If you have a look toward the bottom of the FOR /? help output you will see all the variables that you can use, similar to the %~tX variable that provides the...
Michael, I have been looking at this and wondering why the OSes are divided up the way they are. Another way of putting it is, "Why not report each OS...
Hi Sam. A poster once asked to differenciate them as they appear in this batch file and this is the version I kept. simple? :) But your observation is a good...
Use the stream editor, SED. http://www.student.northpark.edu/pemente/sed/sed3028a.zip It's very useful for substitutions (and more), though a little arcane in ...
Michael, Thanks! SED Really worked great. Saved us lot of work. Had to clean up a lot of old legal docs. Thanks again. Pal ... Use the stream editor, SED. ...
Hi all. I'm looking for someone to moderate/manage this list. Thanks to Yahoo, Batch World mostly runs itself, but I'd still like to turn it over to someone...
... Found another way :-) @echo off c: cd \directory_where_application.exe_is process -k application.exe > nul doze 10 > nul application.exe Substitute the...
I am about to purchase a new computer, with Windows XP Pro installed. I do a lot of work in DOS, and DOS based programs. I have been made nervous because no...
I'm not an expert on XP but I'll answer what I can. On Mon, 12 May 2003 04:17:18 -0000, "reprog2000" <carnealr@...> ... Certain msdos executables will...
if you really hated the xp environment you could always get a prog like connectix virtual pc and run a virtual dos os. or infact on a fast comp you could...
I nominate Micheal. He seems to be the most active poster on the list right now. Ken Mazie MCSE/CNE/CCNA Kaiser permanente Wintel Engineering "gordbraun"...
Does anyone know how to echo text to the screen and also to a file at the same time? I currently echo once to the screen and again to a file. echo Upgrading...
Can anyone point me to resources about writing "run once" batches/scripts. By this, I mean a batch/script which will run on the next reboot of a pc *only*. My...