Summary: Hi Guys, quick question. I have this in a .bat: for /f %%a in ('dir /S /b "*urchin*.js"') do type "%%a" -But its only capturing 'C:\Documents' (basi...
Summary: I need a send a daily backup file to ftp site. Is there a way to make a bat file that finds the newest file in directory then send to FTP site? Thank...
Summary: I have tried to create a batch file: copy %filename% c:\files and put it in the send to folder however it does not work. Does anybody know how I woul...
Summary: Hi, I’m stuck on part of a batch file I’m working on. What I’m trying to do is copy all files with the extension JPE in a directory to another directo...
Summary: Is there any way to do modify the HKEY_CURRENT_USER on a mapped drive connected by USB or BartPE? I have admin access and know the user/profile name ...
Summary: im running win 98 i'm running a batch file can be find a file inside one folder and copy into one file. let say.. ask user to enter filename.. check w...
Summary: "type >file%_a%%_b%.txt" Not surprised you get a syntax error out of that. You need to type SOMETHING. ===================================== If at f...
Summary: Running a Dell 12500 while trying to reinstall xp (had to get a new hard drive), cd installation (i386\winnt.exe) states "internal setup error, system...
Summary: I frequently need to qgrep lines containing text that matches a specific criteria from one or more files. What bothers me is that a temp file needs t...
Summary: Dear people's i need your help! first of all im sorry about my poor english, hope you understand me.. i wrote a code that finds a file inside a local ...
Summary: hi, i am having difficulties trying to save a graph output from Xgraph (on cygwin). When trying to save, HardCopy the available formats are: output de...
Summary: I need to be able to assign the contents of a *.txt or *.log file to a variable in a batch instance. 1. open batch file 2. creates x.txt file with...
Summary: Hello I want to make a new folder to each file according to its creation date This is what I got so far cd C:\Test\ for /f "skip=5 tokens=1-5" %%i in...
Summary: You have to break the line with a CR/LF after Set name=%%i or to type a & if you want the TWO commands on the same line. More, if you don't want to g...
Summary: First, I want to thank each of you for your response. Here is the code that I am working with. Obviously, your code... @echo off SetLocal EnableDela...
Summary: Ivo, when i run the script you suggested it gives me the error "Windows cannot find 'and'make sure you typed the name correctly,and try again. To sear...
Summary: I'm trying to write a VB script for an HTA to go with a batch file that has already been written. The batch file currently prompts the user for sever...
Summary: When I run @echo off setLocal EnableDelayedExpansion for /f "tokens=* delims= " %%a in ('dir/b *.txt') do ( set f=%%a set f=!f:~0,10! echo !f! > # typ...
Summary: Thank you so much for your help, I have it working but I need more features to this little experiment. What I have it doing now is finding the current...
Summary: Yep, for /r doesn't like hidden files. Also with a large directory, probably c:\, you may run out of 32 or 64(probably unlikely) bit numbers depending...
Summary: alas, based on the symtomps, i think i know what is wrong now. if you double click the bat file, it wont work, because you have to run it in command p...
Summary: Hi I was digging around to find solution I need to copy users documents to some network share The point is to copy only office files not mp3 avis etc ...
Summary: Thanks gtaion. I've amended it slightly, so that it echo's the directory name into a named file. So, there are now 2 things left for me to achieve. 1...
Summary: Stuart, If we're only talking about editing static HTML files prior to uploading them to the server, then I'd agree with your scripting approach, but ...
Summary: Calculating past/future dates and differences between them is not an easy task for a batch file. If you're interested, here's a Perl script that would...