When I run this, the variable %download% is being set correctly and the error occurs with the ECHO command. I don't know if this will cause problems in your...
... Data\Net ... In addition to using double quotes around "%download%" as already mentioned, you can also deal with "poison" characters as follows: 1. Keep...
Hi, I am trying to create a batch file that will go to one text file and pull a line then compare it another file and based on the line matching copy a file to...
Respected Sir/Madam, I want to write shell script to delete files based on file creation datetime. If a file or folder is 30 minutes old then it should delete....
... Can you keep only a certain number of files, instead? For example keep the 10 newest files in the viewedit folder - that is far easier to code. @echo off ...
BlankThe required function could easily be performed by xxcopy. delete from multiple subfolders delete when older than 30 minutes (or any other time) exclude...
... Please delete "Blank" from the beggining of my last posting. I don't know where this is coming from - it also appeared on a posting to the xxcopy group!...
... Export the excel list to a CSV file, in "old filename", "new filename" format, and a batch file can manipulate that easily. Some code will appear when some...
... Not a problem, Anthony. Use the short CSV filename where I have file.txt and try the following batch file. It assumes that the files are all in the one...
Just like Mic said, save it as a csv From a command prompt, type "for /?" without the quotes and you'll get a huge amount of help. On the second page of the...
Alright guys. Thanks for the help so far. It works great as is, but I'd like to be able to use it with sub directories. After playing around with it, I have...
... This does the :renm routine once per directory (untested): @echo off for /f %%z in ('dir /b /s /a:d') do pushd "%%z" & call :renm GoTo :EOF ... for /f...
I have a script that checks for a registry entry and dumps the results to a log file (results.log). the output is really ugly and I need to clean it up. What I...
Thanks Mic, the script worked like a charm. Lamar ________________________________ From: batchworld@yahoogroups.com [mailto:batchworld@yahoogroups.com] On ...
... I might have been too hasty making that judgement. I've played around with using gmail, had my yahoo groups mail bouncing for various periods, added a ...
Gosh this group has become quiet - I can hear the fan of my PC whirring now! ;) Where's the thrust and parry of Sir BobB's cutlass, and that devil-may-care ...
To All, I am sorry for some of the recent lags in posting that several long-term members have experienced. This has been due to an additional feature that...
... Here 'tis. The posted log had extra line feeds which is why I asked Lamar for a verbatim sample. This solved that issue for him. Any lines in column 1...
At 11:31 PM 10/13/2006 +1000, foxidrive Writes ... Greetings Mic, I apologize to you and the group for my delayed responses but I been so busy deleting and...
... <Yosemite Sam voice> you dog-blasted, ornery, no-account, long-eared varmint! Take that [blam] and that [blam]. (holsters pistol)</Yosemite Sam voice> ... ...
At 12:52 PM 11/5/2006 +1100, foxidrive Writes ... @echo on @echo off rem pause start "" "c:\Program Files\WordWeb\wwnotray.exe" %* ... Learned my lesson a few...