Bob Bissinnar | 4 Nov 19:33 2006
Picon
Picon

Re: How to get findstr avoid these characters < >

At 11:31 PM 10/13/2006 +1000, foxidrive Writes

 >> that I am being moderated...

Greetings Mic,
I apologize to you and the group for my delayed responses but I been so 
busy deleting and censoring your group posts (Thanks Sam!) and personal email.

Mic, I also canceled your pre-paid membership to Paranoia.org. Paypal 
executives say they will provide you a full refund.

 >I can't even find the original of the email I sent - must be old farts
 >disease. ;)

Oldtimers disease Mic, that's what you have. Not to be confused with 
Alzheimer which is a great way to meet new friends!

 >The following was the gist of my post, leaving out the names I called BobB
 >and MickieM ;) :

I can deal with the name calling "Stick and Stones....." but Poopy-head?

 >I propose a batch file contest - I will start the bar low..
 > <at> echo off
 >start "" "c:\Program Files\WordWeb\wwnotray.exe" %*

The above batch file from Mic takes my breath away! I am grateful for my 
training from French obstetrician Ferdinand Lamaze.

I propose to make Mic's batch file contest even lower than a snake's belly 
(Continue reading)

foxidrive | 5 Nov 02:52 2006
Picon

Re: How to get findstr avoid these characters < >

On Sat, 04 Nov 2006 13:33:59 -0500, Bob Bissinnar wrote:

> At 11:31 PM 10/13/2006 +1000, foxidrive Writes

> I apologize to you and the group for my delayed responses but I been so 
> busy deleting and censoring your group posts (Thanks Sam!) and personal email.

<Yosemite Sam voice> you dog-blasted, ornery, no-account, long-eared
varmint! Take that [blam] and that [blam]. (holsters pistol)</Yosemite Sam
voice>

> I propose to make Mic's batch file contest even lower than a snake's belly 
> in a wagon wheel rut.

>::new batch file
>:start
>  <at> echo on
>  <at> echo off
> start "" "c:\Program Files\WordWeb\wwnotray.exe" %*

I'll see you and raise you 

::new batch file mark 2
:start
  <at> echo on
  <at> echo off
 rem
 start "" "c:\Program Files\WordWeb\wwnotray.exe" %*

 
(Continue reading)

Bob Bissinnar | 7 Nov 01:14 2006
Picon
Picon

Re: How to get findstr avoid these characters < >

At 12:52 PM 11/5/2006 +1100, foxidrive Writes
 >I'll see you and raise you
 >::new batch file mark 2
 >:start
 >  <at> echo on
 >  <at> echo off
 > rem
 > start "" "c:\Program Files\WordWeb\wwnotray.exe" %*

::new batch file mark 3
:start
   <at> echo on
   <at> echo off
  rem
  pause
  start "" "c:\Program Files\WordWeb\wwnotray.exe" %*

 >> love you brother!
 >Shhh.  Mum told us never to speak of her dalliance with your dad...

Learned my lesson a few years ago, Mic.  I always swallow all liquids 
before reading one of your replies. Too funny, LMAO!

To Post a message, send it to:   batchworld@...

To Unsubscribe, send a blank message to:
batchworld-unsubscribe@... 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
(Continue reading)

schelske.geo | 8 Nov 16:40 2006

xcopy to create destination directory

I am trying to copy c:\bar to c:\foo, and I need the bar directory 
created under the c:\foo when the copy takes place.

If c:\bar contains 3 files, a.txt, b.txt, and c.txt the final result 
should be c:\foo\bar\a.txt, c:\foo\bar\b.txt, and c:\foo\bar\c.txt.

I though xcopy /s would do it for me, but it just copies the files 
without creating the directory first.  I tried the /i switch, but that 
didn't seem to help.

What am I missing?  Thanks.

This is my actual command line

xcopy c:\somedir \\pstst4s01\d$\d0129_backup /M/S/E/C/F/Y

I want c:\somedir created in \\pstst4s01\d$\d0129_backup and then a 
copy of all files and subdirs?

To Post a message, send it to:   batchworld@...

To Unsubscribe, send a blank message to:
batchworld-unsubscribe@... 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/batchworld/

<*> Your email settings:
    Individual Email | Traditional
(Continue reading)

foxidrive | 8 Nov 23:26 2006
Picon

Re: xcopy to create destination directory

On Wed, 08 Nov 2006 15:40:39 -0000, schelske.geo wrote:

> I am trying to copy c:\bar to c:\foo, and I need the bar directory
> created under the c:\foo when the copy takes place.
>
> If c:\bar contains 3 files, a.txt, b.txt, and c.txt the final result
> should be c:\foo\bar\a.txt, c:\foo\bar\b.txt, and c:\foo\bar\c.txt.
>
> I though xcopy /s would do it for me, but it just copies the files
> without creating the directory first. I tried the /i switch, but that
> didn't seem to help.
>
> What am I missing? Thanks.
>
> This is my actual command line
>
> xcopy c:\somedir \\pstst4s01\d$\d0129_backup /M/S/E/C/F/Y
>
> I want c:\somedir created in \\pstst4s01\d$\d0129_backup and then a
> copy of all files and subdirs?

Try this:

xcopy c:\somedir \\pstst4s01\d$\d0129_backup\somedir\ /M/S/E/C/F/Y

--
Regards,
Mic

__._,_.___
To Post a message, send it to:   batchworld-B11MqFFcr05BDgjK7y7TUQ@public.gmane.org

To Unsubscribe, send a blank message to: batchworld-unsubscribe-B11MqFFcr05BDgjK7y7TUQ@public.gmane.org
Recent Activity
Visit Your Group
SPONSORED LINKS
New business?

Get new customers.

List your web site

in Yahoo! Search.

Yahoo! Photos

Upload & Share

First 20

prints are free

Make History

Make Your Mark

The Yahoo! Time

Capsule Project

.

__,_._,___
David Maunder | 9 Nov 00:12 2006
Picon

RE: xcopy to create destination directory


> > I want c:\somedir created in \\pstst4s01\d$\d0129_backup and then a
> > copy of all files and subdirs?
>
> Try this:
>
> xcopy c:\somedir \\pstst4s01\d$\d0129_backup\somedir\ /M/S/E/C/F/Y

Unfortunately that doesn't work under XP nor NT4. Yes, it prolly should,
but doesn't.
At least not on my XP or NT4 right here in front of me.
Xcopy looks damned buggy to me anyway.

This is the only way that I can get it working corectly under XP:

copymefilesover.bat
MD %2\%1
XCOPY %1 %2\%1 /S/E/C/F/Y

Then do the following:

Copymefilesover c:\somedir \\pstst4s01\d$\d0129_backup
Which creates \\pstst4s01\d$\d0129_backup\somedir and copies the files.

NT4 doesn't support the /y option.

__._,_.___
To Post a message, send it to:   batchworld-B11MqFFcr05BDgjK7y7TUQ@public.gmane.org

To Unsubscribe, send a blank message to: batchworld-unsubscribe-B11MqFFcr05BDgjK7y7TUQ@public.gmane.org
Recent Activity
Visit Your Group
SPONSORED LINKS
Yahoo! Photos

Create your own

Photo Gifts

Need traffic?

Drive customers

With search ads

on Yahoo!

Your Story

Opened in the 2020

The Yahoo! Time

Capsule Project

.

__,_._,___
Marc Peterson | 9 Nov 17:48 2006
Picon
Picon

RE: xcopy to create destination directory

I can report that it works for me on XP SP2. I use xcopy all the time
without issue. It's not often necessary, but I usually like to include the
/H switch.

I notice that your first example includes the /M switch while the second
example does not. Use of the /M switch will only copy files that have the
archive attribute set.

xcopy C:\somedir \\pstst4s01\d$\d0129_backup\somedir\ /e /c /h /y
(The trailing slash on the destination precludes the need for /I)

Marc

> -----Original Message-----
>
> > > I want c:\somedir created in \\pstst4s01\d$\d0129_backup
> and then a
> > > copy of all files and subdirs?
> >
> > Try this:
> >
> > xcopy c:\somedir \\pstst4s01\d$\d0129_backup\somedir\ /M/S/E/C/F/Y
>
> Unfortunately that doesn't work under XP nor NT4. Yes, it
> prolly should,
> but doesn't.
> At least not on my XP or NT4 right here in front of me.
> Xcopy looks damned buggy to me anyway.
>
>
> This is the only way that I can get it working corectly under XP:
>
> copymefilesover.bat
> MD %2\%1
> XCOPY %1 %2\%1 /S/E/C/F/Y
>
> Then do the following:
>
> Copymefilesover c:\somedir \\pstst4s01\d$\d0129_backup
> Which creates \\pstst4s01\d$\d0129_backup\somedir and copies
> the files.
>
>
> NT4 doesn't support the /y option.

__._,_.___
To Post a message, send it to:   batchworld-B11MqFFcr05BDgjK7y7TUQ@public.gmane.org

To Unsubscribe, send a blank message to: batchworld-unsubscribe-B11MqFFcr05BDgjK7y7TUQ@public.gmane.org
Recent Activity
Visit Your Group
SPONSORED LINKS
Yahoo! Photos

Upload & Share

First 20

prints are free

Need traffic?

Drive customers

With search ads

on Yahoo!

Yahoo! Groups

Start a group

in 3 easy steps.

Connect with others.

.

__,_._,___
Parag P. Doke | 10 Nov 13:25 2006
Picon

Method to find out the path of a process

Hi All.
I was trying for a method to find out the path to a running process.
Let me clarify:

Let us assume that I have 2 instances of apache.exe webserver running
(from different locations). If I use pslist (Sysinternals Pstools):
pslist apache
Gives me the name and pid (and some more details) about the processes.

[I guess the equivalent command for Win XP and Win 2k3 is "tasklist"].

However, is there a method for finding out the location of the running
apache.exe from the command line ?
Some output like:
apache.exe <PID 1> C:\Apache_instance1\bin\apache.exe
apache.exe <PID 2> C:\Apache_instance2\bin\apache.exe

The "Active ports" utility does seem to have such a feature, but I
think there is no command line support to it.

I'm attempting to kill a selective apache instance based on the path
(using "pskill -t /PID <PID>" on Win 2k and "taskkill -t /PID <PID>"
on Win XP and Win 2k3).

Thanks in advance,
Parag
--
Parag P. Doke
http://paragpdoke.blogspot.com

__._,_.___
To Post a message, send it to:   batchworld-B11MqFFcr05BDgjK7y7TUQ@public.gmane.org

To Unsubscribe, send a blank message to: batchworld-unsubscribe-B11MqFFcr05BDgjK7y7TUQ@public.gmane.org
Recent Activity
Visit Your Group
SPONSORED LINKS
Ads on Yahoo!

Learn more now.

Reach customers

searching for you.

Yahoo! Photos

Upload & Share

First 20

prints are free

Yahoo! Groups

Start a group

in 3 easy steps.

Connect with others.

.

__,_._,___
foxidrive | 10 Nov 14:40 2006
Picon

Re: Method to find out the path of a process

On Fri, 10 Nov 2006 17:55:37 +0530, Parag P. Doke wrote:

> I was trying for a method to find out the path to a running process.
> Let me clarify:
>
> Let us assume that I have 2 instances of apache.exe webserver running
> (from different locations). If I use pslist (Sysinternals Pstools):
> pslist apache
> Gives me the name and pid (and some more details) about the processes.

Can you add a batchfile to start the apache process, and capture the PID to
an environment variable for later use? Without checking I would guess that
the last instance in a list of apache processes would be the one that
started last.

--
Regards,
Mic

__._,_.___
To Post a message, send it to:   batchworld-B11MqFFcr05BDgjK7y7TUQ@public.gmane.org

To Unsubscribe, send a blank message to: batchworld-unsubscribe-B11MqFFcr05BDgjK7y7TUQ@public.gmane.org
Recent Activity
Visit Your Group
SPONSORED LINKS
New web site?

Drive traffic now.

Get your business

on Yahoo! search.

Yahoo! Photos

Easy Upload

Share photos now

Yahoo! Groups

Start a group

in 3 easy steps.

Connect with others.

.

__,_._,___
petremure | 10 Nov 17:33 2006

Help a noob

Please help me: I want to start 3 programs at once with a batch file,
but I don't know how. Could someone write one for me? Thanks in
advance, Peter.

__._,_.___
To Post a message, send it to:   batchworld-B11MqFFcr05BDgjK7y7TUQ@public.gmane.org

To Unsubscribe, send a blank message to: batchworld-unsubscribe-B11MqFFcr05BDgjK7y7TUQ@public.gmane.org
Recent Activity
Visit Your Group
SPONSORED LINKS
Search Ads

Get new customers.

List your web site

in Yahoo! Search.

Yahoo! Photos

Upload & Order

Same-day pickup

at Target

Yahoo! Groups

Start a group

in 3 easy steps.

Connect with others.

.

__,_._,___

Gmane