Search found 5 matches

by gianniiiii
19 Oct 2009 03:21
Forum: DOS Batch Forum
Topic: get ip for batch commands
Replies: 6
Views: 9094

by gianniiiii
19 Oct 2009 02:57
Forum: DOS Batch Forum
Topic: get ip for batch commands
Replies: 6
Views: 9094

@Jaffamuffin

also ifmaybe it's better to open a new Topic, i can't found resource about the character "^"

is there a topic here?
by gianniiiii
16 Oct 2009 03:57
Forum: DOS Batch Forum
Topic: get ip for batch commands
Replies: 6
Views: 9094

avery_larry wrote:You can use the ip 127.0.0.1


Otherwise you can use some manipulations with for to get the IP address from ipconfig.


i use this,

IPCONFIG |FIND "IP" > %temp%\TEMPIP.txt
FOR /F "tokens=2 delims=:" %%a in (%temp%\TEMPIP.txt) do set IP=%%a
del %temp%\TEMPIP.txt
by gianniiiii
16 Oct 2009 01:03
Forum: DOS Batch Forum
Topic: Calling another file from a .bat file issue
Replies: 3
Views: 5820

Re: Working on that

I am looking into using a CALL or START. I do not mess with this kind of thing very often, so it may take a little work to get it to work. The psexec command is what I was using to call the remote .bat file. I have tried this: CALL \\imagenow\e$\inserver6\script\RTS_ImportChecksAndUpdateCheckNum.ba...
by gianniiiii
15 Oct 2009 05:05
Forum: DOS Batch Forum
Topic: Calling another file from a .bat file issue
Replies: 3
Views: 5820

Hy Pattere, have you tried using CALL o START?

Example

call psexec \\imagenow \\imagenow\e$\inserver6\script\RTS_ImportChecksAndUpdateCheckNum.bat

or

start psexec \\imagenow \\imagenow\e$\inserver6\script\RTS_ImportChecksAndUpdateCheckNum.bat


Max