Search found 3 matches

by pbesk18
27 Dec 2013 09:09
Forum: DOS Batch Forum
Topic: For /F command help
Replies: 6
Views: 4329

Re: For /F command help

Can you please explain me how this part will work: I don't know rcmd to be honest. Does it have the ability to copy a file to the remote system? PsExec can do that, IIRC. [/quote] Foxidrive here it's what I get went I run the command, I can try psExec.... RCMD allows me to connect to a remote serve...
by pbesk18
26 Dec 2013 22:50
Forum: DOS Batch Forum
Topic: For /F command help
Replies: 6
Views: 4329

Re: For /F command help

Thank you foxidrive ... Can you please explain me how this part will work: FOR /F "delims=" %%A IN (clusters.txt) DO ( rcmd \\%%A cmd /c delfile.bat ) del delfile.bat 2>nul Sorry but I didn't get how the rcmd \\%%A cmd /c delfile.bat will execute remotely if the batch file was created loca...
by pbesk18
26 Dec 2013 15:33
Forum: DOS Batch Forum
Topic: For /F command help
Replies: 6
Views: 4329

For /F command help

I have created the following simple batch file.... What I'm trying to accomplish here is to connect using Remote Command (RCMD utility) to a list o servers defined in (clusters.txt) and delete a list of video files difines in (assets.txt) then delete those assets on every server. This Batch file wor...