Batch running files remotely

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
Bjorn94
Posts: 4
Joined: 05 Mar 2022 06:35

Batch running files remotely

#1 Post by Bjorn94 » 30 Mar 2022 03:51

I have a request, is it possible that the batch file (run on any PC) can access and start files remotely? (even better if the files are in the cloud)

Puccilillo
Posts: 8
Joined: 11 Apr 2022 09:33
Location: Italy
Contact:

Re: Batch running files remotely

#2 Post by Puccilillo » 12 Apr 2022 14:40

You can run files on a remote machine with some tools like SSH, wich allows remote access and control.
As far as I know SSH in for servers, you should google OpenSSH.

Samir
Posts: 384
Joined: 16 Jul 2013 12:00
Location: HSV
Contact:

Re: Batch running files remotely

#3 Post by Samir » 18 May 2022 12:39

If you have access to a command/DOS prompt on a machine, you can execute a batch file that is stored elsewhere, but I don't know of a way to execute a batch file without being on the system or scripting its launch.

Andrew92
Posts: 8
Joined: 26 Apr 2022 09:15

Re: Batch running files remotely

#4 Post by Andrew92 » 25 May 2022 07:43

I'm not exactly sure but it might not be possible.

miskox
Posts: 630
Joined: 28 Jun 2010 03:46

Re: Batch running files remotely

#5 Post by miskox » 25 May 2022 14:54

Sysinternal's psexec maybe?

Saso

elzooilogico
Posts: 128
Joined: 23 May 2016 15:39
Location: Spain

Re: Batch running files remotely

#6 Post by elzooilogico » 25 May 2022 15:10

you may try

Code: Select all

wmic /node:"some_computer" proccess call create "c:\\path_to_proccess\\your.exe

Post Reply