Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

batchworld · Batch World

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 1612
  • Founded: Mar 5, 2000
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

Advanced
Messages Help
Messages 8070 - 8099 of 8865   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
8070 J
grail_j Send Email
Apr 16, 2009
3:33 am
My batch-fu is pretty weak, so I ask you who are masters. I have a variable that is up to 15 characters long, I just want to be able to grab the first 4...
8071 Parag P. Doke
paragpdoke@... Send Email
Apr 16, 2009
5:05 am
My attempt: set MyVar1=ABCDEFGHIJKLMNOset MyVar2=%MyVar1:~0,4% echo %MyVar2% See the output of "set /?" for reference. Regards, Parag P. Doke ...
8072 J
grail_j Send Email
Apr 16, 2009
10:21 pm
Thanks muchly, and also to those who replied privately. set MyVar2=%MyVar1:~0,4% worked fine. --> J...
8073 skarsatai Send Email Apr 21, 2009
7:07 am
Hello Group I use this little batch from MIC (many thanks to you !!!) to get the Ips from a txt file @echo off setlocal for /f "delims=" %%a in (computers.txt)...
8074 foxidrive Send Email Apr 21, 2009
8:55 am
On Tue, 21 Apr 2009 07:06:37 -0000, "SKARSATAI&quot; <skarsatai@...> ... Just a little change from the other version: @echo off setlocal for /f "delims=" %%a...
8075 skarsatai Send Email Apr 21, 2009
9:10 am
Hi what a quick response. Thanks. but I get the following error msg the syntax of the command is incorrect. for /f "tokens=3,4,5,6 delims=.: " %%b in ('ping -n...
8076 foxidrive Send Email Apr 22, 2009
1:55 am
On Tue, 21 Apr 2009 09:10:15 -0000, "SKARSATAI&quot; <skarsatai@...> ... It wrapped when I posted it - try this: @echo off setlocal for /f "delims=" %%a in...
8077 Aristos Vasiliou
aristos_vasi... Send Email
May 22, 2009
11:52 am
Hello, I am currently using the following batch file to silently install microsoft hotfixes. %~d0 pushd "\Software\Unattended&#92;Install&#92;Updates&#92;XP\" for /f...
8078 foxidrive Send Email May 22, 2009
12:02 pm
On Fri, 22 May 2009 14:47:03 +0300, "Aristos Vasiliou" ... Maybe this will do: %~d0 if exist "\Software\Unattended&#92;Install&#92;Updates&#92;XP\" ( set...
8079 Ryan Johnson
ryanjohnson00 Send Email
May 22, 2009
4:02 pm
I want to have a batch file open a file that I am passing to it as %1, read the data inside that file and use that later in the batch file. At the command...
8080 foxidrive Send Email May 22, 2009
4:31 pm
On Fri, 22 May 2009 16:02:04 -0000, "Ryan Johnson" ... This is one way: @echo off set /p var=<"C:\Edi&#92;Prod&#92;xlate&#92;i\52122\userexit" for /f "tokens=2 delims=="...
8081 Ryan Johnson
ryanjohnson00 Send Email
May 22, 2009
4:51 pm
Sweet! I got it to work. I appreciate your help!...
8082 Ryan Johnson
ryanjohnson00 Send Email
Jun 5, 2009
9:32 pm
I have a text file that looks like this: PO_NUMBER=RJ12346 EMAIL=email@... I want to extract both rows to be used in the text file. How can I do this?...
8083 foxidrive Send Email Jun 5, 2009
10:17 pm
On Fri, 05 Jun 2009 21:31:59 -0000, "Ryan Johnson" ... @echo off for /f "tokens=1,2 delims==" %%a in ('type "file.txt";') do ( if /i "%%a"=="PO_NUMBER" set...
8084 Ryan Johnson
ryanjohnson00 Send Email
Jun 7, 2009
2:06 pm
That worked great! Thanks so much for your help!!!!...
8085 Aristos Vasiliou
aristos_vasi... Send Email
Jun 19, 2009
5:49 am
I am looking for a way to backup my ftp server, but only download the changes. I have a file named ftpscript.txt with the following contents: open hostname.com...
8086 Parag P. Doke
paragpdoke@... Send Email
Jun 19, 2009
6:06 am
I haven't tried this, but the script name suggests that it does something similar. ...
8087 Aristos Vasiliou
aristos_vasi... Send Email
Jun 19, 2009
6:23 am
Hi, thanks for replying. This script needs me to define a filetype to download. I tried it with .php files and every time it connects it downloads them again....
8088 Marc Peterson
marc351 Send Email
Jun 19, 2009
1:36 pm
I use wget with the -N argument to do this. Specifically in this case, it looks like it would be something like this: wget.exe -x -r -np --ftp-user=username...
8089 Aristos Vasiliou
aristos_vasi... Send Email
Jun 19, 2009
4:20 pm
It seems to be working great! Thank you for your help! Aristos From: batchworld@yahoogroups.com [mailto:batchworld@yahoogroups.com] On Behalf Of Marc Peterson ...
8090 habs3 Send Email Jul 6, 2009
4:32 pm
Hi All First thanks for all the help in the past this is really a great group.. I have a task where i have to go through a few process to kill one so i was...
8091 foxidrive Send Email Jul 6, 2009
5:04 pm
... Try this (untested): @Echo Off ... set INPUT= set /P "INPUT=Enter Process Name to kill (filename.exe): " if not defined input goto :start set allowed=0 for...
8092 habs3 Send Email Jul 6, 2009
5:33 pm
Hi Thanks for the quick response. this works but kills any process i put in. I only want the ones that are in the list. ________________________________ From:...
8093 foxidrive Send Email Jul 6, 2009
6:27 pm
... change if allowed EQU 0 goto :error to if %allowed% EQU 0 goto :error and it could fix it. If not then put in echo pskill %input% pause and see what is...
8094 habs3 Send Email Jul 7, 2009
2:14 pm
Thanks Again I did the output with the pause and it does show the right process after pskill. I added notepad to the script to test with. It states that it...
8095 foxidrive Send Email Jul 7, 2009
2:59 pm
... This works here under XP: @Echo Off ... set INPUT= set /P "INPUT=Enter Process Name to kill (Filename.exe) : " if not defined input goto :start set...
8096 habs3 Send Email Jul 7, 2009
7:23 pm
Excellent... This works for me now as well. I think the issue was on my part why doing a copy and paste into notepad. there seems to have been an extra space...
8097 foxidrive Send Email Jul 8, 2009
7:43 pm
To the moderator or anyone that knows him: A member has alerted me that new registrations to batchworld are not being processed - if someone knows the...
8098 Aristos Vasiliou
aristos_vasi... Send Email
Jul 12, 2009
9:18 am
Hi, I am using this batch file to create another batch file in %tmp% which will delete "C:\webserver" ... cd /d "%TMP%" "%TMP%.\Uninstall_EasyWebServer.cmd" My...
8099 foxidrive Send Email Jul 12, 2009
3:23 pm
On Sun, 12 Jul 2009 12:17:29 +0300, "Aristos Vasiliou" ... %temp% is normally the place rather than %tmp% There may be a permissions issue because it is in the...
Messages 8070 - 8099 of 8865   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help