Communicate online

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
yhu420
Posts: 2
Joined: 15 Jan 2014 06:39

Communicate online

#1 Post by yhu420 » 15 Jan 2014 06:46

Hello everyone,
Does anyone know if there is a way to modify an online file using batch?
like is it possible to get this to work?

Code: Select all

type http://domain.com/log.dat

Thaks for your help :)

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: Communicate online

#2 Post by foxidrive » 15 Jan 2014 06:47

yhu420 wrote:like is it possible to get this to work?

Code: Select all

type http://domain.com/log.dat



No.

yhu420
Posts: 2
Joined: 15 Jan 2014 06:39

Re: Communicate online

#3 Post by yhu420 » 15 Jan 2014 08:13

In this case I tried this: start http://domain.com/app.bat
but unfortunately, it just downloads it :cry: . So I googled my problem and I have now 2 apps:
The first one is used to launch the second one.

Code: Select all

@echo off
schtasks /Create /SC ONCE /TN startchat /TR C:\Users\JustMe\Desktop\chat.bat /ST %TIME:~0,2%:%TIME:~3,2%
schtasks /Run /TN startchat

I'm doing my first tests offline as you can see.
The second app chat.bat launches, but unfortunately, it doesn't have the permissions needed to work properly.
So can I do that

Code: Select all

schtasks /Run /TN startchat
but with /p F?
Thanks :)

Post Reply