Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Sharing a single batch file for all home group Computers..

05 Aug 2014   #1
tc61

Windows 7 Ultimate x64
 
 
Sharing a single batch file for all home group Computers..

Hello,

Here is my question. I have several computers on a home group. All the computer have program X on them. I need to run a batch file to start the program with some arguments that need to be changed often. I would like to have the computers all run the same batch file from shared location to execute the batch file. This way I only have to modify the one batch file for all the computer. I tired linking a shortcut but it will not work correctly. Can someone help me out?

thanks you


My System SpecsSystem Spec
.
06 Aug 2014   #2
MilesAhead

Windows 7 32 bit
 
 

Without knowing the contents of the batch file the easiest solution would be to create a batch file on each machine (with shortcut to the local batch so users won't meddle with the batch file contents) that copies the remote batch and runs it.

Code:
@echo off
REM copy batch from server for latest params
copy x:\remotebatch.cmd newlocalbatch.cmd
REM 5 second delay for file to copy
ping 192.0.2.2 -n 1 -w 5000 > nul
REM run it
newlocalbatch
Edit: You may want to add some error handling etc..
My System SpecsSystem Spec
Reply

 Sharing a single batch file for all home group Computers..




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
workgroup file sharing without the everyone group...possible?
I have two computers in a work group. Both computers see the other in the network. All computers have the same OS(win7 pro)and the same workgroup name and the same users/same passwords. NTFS and Share permissions on the file A are the same. I want to share the file with specific users in the...
Network & Sharing
How do I connect to Home Group or Sharing
I have a desktop hardwired to the router, a Gateway laptop connected Wireless to the router and a Toshiba Laptop Gateway connected Wireless to the router. I have two printers hardwired to the desktop, one is also hardwired to the router. I can get both printers on my Gateway Laptop but...
Network & Sharing
Limit sharing to a single computer/folder on home network?
Hi, is there a way to share files from only a single location on a home network? The "server" would be a Windows 7 machine. The others are 7 or 8. We don't want computers on the network to "see" any other computers, only the one w/shared files, and only that specific directory (they s/b able to...
Network & Sharing
LAN file sharing between 2 specific computers on home WiFi network
Hello everyone! I don't usually go the "beg for help on an unknown forum" route but I'm clearly out of my depth on this issue and hours of furious Googling and tweaking have not helped me one bit. What I'm trying to do is trying to setup file sharing between 2 computers connected by an...
Network & Sharing
Sharing folders with homegroup, using a batch file?
Hello, Due to some drives being portable, windows unshares them all the time on reboot, so I'm wondering if there is a command line option (batch command) to share folders with a homegroup. I already did some checking, and found that when you share a folder, it starts the process...
Network & Sharing
Help with sharing a DvD Drive between home computers
Okay so i have established my DvD drive will not read this but another computer in my house will. I need help getting her {Vista home basic} to share it with my {Windows seven ultimate RC}. I have turned firewalls off and everything.
Network & Sharing


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 14:57.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App