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...
... 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...
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:...
... 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...
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...
... 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...
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...
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...
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...
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...
As always, you're the best Mic :) Thanks ________________________________ From: batchworld@yahoogroups.com on behalf of foxidrive Sent: Sun 7/12/2009 6:23 PM ...
You can always reverse the original string, and then process the reversed string front to back for what you need to accomplish. Sample code which will reverse...
Be careful with the URLs below - I don't think nabble.com it affiliated with batchworld at all. They could be links with malware exploits. On Sat, 8 Aug 2009...
Cheers mate ;o) 2009/8/8 foxidrive <foxidrive@...> ... [Non-text portions of this message have been removed]...
Theodorik OBroin
theodorik.obroin@...
Aug 8, 2009 5:28 pm
8104
You can use a command in the form for /f %p in (myfile.txt) do call :ProcessLine %p goto :EOF ... rem Add code here to reverse the line (which is %* since its...
In your code to process each line you add the following (which will take the first five letters of the variable and compare to zero. (including period)). As...
The link is not malicious. I am simply informing you of a great tool for batch files in a forum for batch files. If you don't want to click, just do a search...
On Sun, 9 Aug 2009 08:14:26 -0700 (PDT), giskier ... How are these posts getting to batchworld? Are you gating them yourself? Do you have permission from...
There are 2 ways to return from a call 1) goto :EOF 2) exit /B X In way 2, X is a number, and the errorlevel variable will be set to X. Example for %p in...
Hello, Is there a way to add some kind of progress indicator in a batch file? Maybe stars, or something going like this \|/-\|/- You know something like a...
Hi, Cheers for getting me to look at this again. I find the easiest way is to update the title - that way you don't have to do a CLS all the time. The reason...
Theodorik OBroin
theodorik.obroin@...
Aug 12, 2009 4:48 pm
8113
Check out this post on stack overflow: How to code a spinner for waiting processes in a batch file? ...
Hi, Thanks for your reply. This is my batch file so far. @ECHO off title Installing Software ECHO. ECHO Instaling Net Framework dotnetfx35.exe /qb /norestart ...
Hi, Cheers to Josh for his link. I've taken the batch file listed there, and together with your script, have created a different script. I dunno about you, but...
Theodorik OBroin
theodorik.obroin@...
Aug 13, 2009 1:01 am
8116
Hi All, This is my first email in this group. even though i got lots of usefull resources from this group, but recently getting into the batch files. at the...
Hello Omer.Try something on the lines of: type PrintMe.txt >> prn Where you need to print the entire contents of the file directly. However, if you wish to...
Just to let you know you have encountered a defect in your nas product, Windows OS from 2000 on employ a time stamp with a 64 bit value, some samba based NAS...
Batchworld MkII continues the good work of the Batch World group, where the moderator has disappeared and locked the group. I am the moderator of the new...